MCPcopy Index your code
hub / github.com/benfry/processing4 / getInteger

Method getInteger

app/src/processing/app/Settings.java:158–165  ·  view source on GitHub ↗
(String attribute)

Source from the content-addressed store, hash-verified

156
157
158 public int getInteger(String attribute) {
159 String value = get(attribute);
160 if (value == null) {
161 System.err.println("Integer not found: " + attribute);
162 return 0;
163 }
164 return Integer.parseInt(value);
165 }
166
167
168 @SuppressWarnings("unused")

Callers

nothing calls this directly

Calls 3

getMethod · 0.95
parseIntMethod · 0.80
printlnMethod · 0.45

Tested by

no test coverage detected