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

Method getAllConstants

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

Returns a Collection of all of the Constants in this Class. This collection maintains a reference to the Constants in this Class, so if a new Constant is created, the Collection returned by this method will be modified. (Beware of ConcurrentModificationExceptions) @return a Collection of all of th

()

Source from the content-addressed store, hash-verified

775 * @return a Collection of all of the Constants in this Class.
776 */
777 public static synchronized Collection<JepCountType> getAllConstants()
778 {
779 if (typeMap == null)
780 {
781 buildMap();
782 }
783 return Collections.unmodifiableCollection(typeMap.values());
784 }
785
786 private static class JepCountSkillSit extends JepCountType
787 {

Callers

nothing calls this directly

Calls 2

buildMapMethod · 0.95
valuesMethod · 0.45

Tested by

no test coverage detected