MCPcopy Index your code
hub / github.com/PCGen/pcgen / valueOf

Method valueOf

code/src/java/pcgen/util/JepCountType.java:759–766  ·  view source on GitHub ↗

Returns the constant for the given String (the search for the constant is case insensitive). @param name The name of the constant to be returned @return The Constant for the given name

(String name)

Source from the content-addressed store, hash-verified

757 * @return The Constant for the given name
758 */
759 public static synchronized JepCountType valueOf(String name)
760 {
761 if (typeMap == null)
762 {
763 buildMap();
764 }
765 return typeMap.get(name);
766 }
767
768 /**
769 * Returns a Collection of all of the Constants in this Class.

Callers 9

runMethod · 0.95
runMethod · 0.95
toStringMethod · 0.45
runMethod · 0.45
compareMethod · 0.45
filterSetPMethod · 0.45
filterSetPMethod · 0.45
toStringMethod · 0.45
getLoadTypeMethod · 0.45

Calls 2

buildMapMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected