MCPcopy Create free account
hub / github.com/benfry/processing4 / get

Method get

core/src/processing/data/IntDict.java:367–373  ·  view source on GitHub ↗

Return a value for the specified key. @webref intdict:method @webBrief Return a value for the specified key

(String key)

Source from the content-addressed store, hash-verified

365 * @webBrief Return a value for the specified key
366 */
367 public int get(String key) {
368 int index = index(key);
369 if (index == -1) {
370 throw new IllegalArgumentException("No key named '" + key + "'");
371 }
372 return values[index];
373 }
374
375
376 public int get(String key, int alternate) {

Callers

nothing calls this directly

Calls 1

indexMethod · 0.95

Tested by

no test coverage detected