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

Method get

app/src/processing/app/Preferences.java:274–281  ·  view source on GitHub ↗
(String attribute /*, String defaultValue */)

Source from the content-addressed store, hash-verified

272 // all the information from preferences.txt
273
274 static public String get(String attribute /*, String defaultValue */) {
275 if (!initialized) {
276 throw new RuntimeException(
277 "Tried reading preferences prior to initialization."
278 );
279 }
280 return table.get(attribute);
281 }
282
283
284 static public String getDefault(String attribute) {

Callers 15

alreadyRunningMethod · 0.95
sendArgumentsMethod · 0.95
initMethod · 0.95
handleProxyMethod · 0.95
getBooleanMethod · 0.95
getIntegerMethod · 0.95
getColorMethod · 0.95
getFontMethod · 0.95
checkSketchbookPrefMethod · 0.95
getOldSketchbookPathMethod · 0.95
getSketchbookPathMethod · 0.95
getUpdateIDMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected