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

Method removeValue

core/src/processing/data/LongList.java:248–256  ·  view source on GitHub ↗
(int value)

Source from the content-addressed store, hash-verified

246 // Remove the first instance of a particular value,
247 // and return the index at which it was found.
248 @SuppressWarnings("unused")
249 public int removeValue(int value) {
250 int index = index(value);
251 if (index != -1) {
252 remove(index);
253 return index;
254 }
255 return -1;
256 }
257
258
259 // Remove all instances of a particular value,

Callers

nothing calls this directly

Calls 2

indexMethod · 0.95
removeMethod · 0.95

Tested by

no test coverage detected