MCPcopy Create free account
hub / github.com/PCGen/pcgen / cast

Method cast

PCGen-base/code/src/java/pcgen/base/util/TypedKey.java:69–73  ·  view source on GitHub ↗

Cast the given object to the type contained by this TypedKey. @param object The object to be cast to the type managed by this TypedKey @return The given object, cast to the type managed by this TypedKey

(Object object)

Source from the content-addressed store, hash-verified

67 * @return The given object, cast to the type managed by this TypedKey
68 */
69 @SuppressWarnings("unchecked")
70 public T cast(Object object)
71 {
72 return (T) object;
73 }
74
75 /**
76 * Returns the "Default Value" to be used when there is no value for the

Callers 5

popMethod · 0.45
peekMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected