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

Method get

core/src/processing/data/LongDict.java:354–360  ·  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

352 * @webBrief Return a value for the specified key
353 */
354 public long get(String key) {
355 int index = index(key);
356 if (index == -1) {
357 throw new IllegalArgumentException("No key named '" + key + "'");
358 }
359 return values[index];
360 }
361
362
363 public long get(String key, long alternate) {

Callers

nothing calls this directly

Calls 1

indexMethod · 0.95

Tested by

no test coverage detected