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

Method get

core/src/processing/data/FloatDict.java:368–374  ·  view source on GitHub ↗

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

(String key)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

indexMethod · 0.95

Tested by

no test coverage detected