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

Method removeValue

core/src/processing/data/FloatList.java:222–230  ·  view source on GitHub ↗
(int value)

Source from the content-addressed store, hash-verified

220 // Remove the first instance of a particular value,
221 // and return the index at which it was found.
222 @SuppressWarnings("unused")
223 public int removeValue(int value) {
224 int index = index(value);
225 if (index != -1) {
226 remove(index);
227 return index;
228 }
229 return -1;
230 }
231
232
233 // 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