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

Method getIntValue

code/src/java/pcgen/core/XPTable.java:93–103  ·  view source on GitHub ↗
(String level)

Source from the content-addressed store, hash-verified

91 }
92
93 private static int getIntValue(String level)
94 {
95 try
96 {
97 return Integer.parseInt(level);
98 }
99 catch (NumberFormatException e)
100 {
101 return 0;
102 }
103 }
104}

Callers 3

validateSequenceMethod · 0.95
loadListMethod · 0.80
loadRuleMethod · 0.80

Calls 1

parseIntMethod · 0.80

Tested by

no test coverage detected