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

Method getSafe

code/src/java/pcgen/cdom/base/CDOMObject.java:174–178  ·  view source on GitHub ↗
(IntegerKey key)

Source from the content-addressed store, hash-verified

172 }
173
174 public final int getSafe(IntegerKey key)
175 {
176 Integer intValue = integerChar == null ? null : integerChar.get(key);
177 return intValue == null ? key.getDefault() : intValue;
178 }
179
180 public final Integer put(IntegerKey key, Integer intValue)
181 {

Callers 15

getHTMLInfoMethod · 0.95
getDescriptionMethod · 0.95
isInternalMethod · 0.95
addAbilityMethod · 0.80
addAbilityMethod · 0.80
removeAbilityMethod · 0.80
testParseLineMethod · 0.80
getBasicSourcesMethod · 0.80
skillCostForPCClassMethod · 0.80
allowMethod · 0.80
isSpellCasterMethod · 0.80

Calls 3

getMethod · 0.95
getMethod · 0.65
getDefaultMethod · 0.65

Tested by 10

addAbilityMethod · 0.64
addAbilityMethod · 0.64
removeAbilityMethod · 0.64
testParseLineMethod · 0.64
getBasicSourcesMethod · 0.64
skillCostForPCClassMethod · 0.64
passesMethod · 0.64
passesMethod · 0.64
resolveMethod · 0.64
resolveMethod · 0.64