MCPcopy Index your code
hub / github.com/processing/processing / getInteger

Method getInteger

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

Source from the content-addressed store, hash-verified

144
145
146 public int getInteger(String attribute) {
147 String value = get(attribute);
148 if (value == null) {
149 System.err.println("Integer not found: " + attribute);
150 return 0;
151 }
152 return Integer.parseInt(value);
153 }
154
155
156 public void setInteger(String key, int value) {

Callers

nothing calls this directly

Calls 3

getMethod · 0.95
parseIntMethod · 0.80
printlnMethod · 0.45

Tested by

no test coverage detected