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

Method valueOf

PCGen-base/code/src/java/pcgen/base/util/Identity.java:77–80  ·  view source on GitHub ↗

Convert an object to the Identity wrapper for that object that does identity comparison. @param The type of object for which the identity is being returned @param value The value for which the identity is being returned @return The Identity object for the given parameter

(T value)

Source from the content-addressed store, hash-verified

75 * @return The Identity object for the given parameter
76 */
77 public static <T> Identity<T> valueOf(T value)
78 {
79 return new Identity<>(value);
80 }
81
82}

Callers 15

addMethod · 0.95
containsMethod · 0.95
containsAllMethod · 0.95
indexOfMethod · 0.95
lastIndexOfMethod · 0.95
removeMethod · 0.95
setMethod · 0.95
addMethod · 0.95
setMethod · 0.95
hasValidSeparatorsMethod · 0.45
getNumberMethod · 0.45
getPreciseNumberMethod · 0.45

Calls

no outgoing calls

Tested by 15

testHarmlessMethod · 0.36
testRemoveFromSourceMethod · 0.36
testNoArgMethod · 0.36
testArgZeroMethod · 0.36
testArgOneMethod · 0.36
testComplexMethod · 0.36
testNoArgsMethod · 0.36
testArgOneMethod · 0.36