MCPcopy Index your code
hub / github.com/processing/processing / appendUnique

Method appendUnique

core/src/processing/data/FloatList.java:329–333  ·  view source on GitHub ↗

Add this value, but only if it's not already in the list.

(float value)

Source from the content-addressed store, hash-verified

327
328 /** Add this value, but only if it's not already in the list. */
329 public void appendUnique(float value) {
330 if (!hasValue(value)) {
331 append(value);
332 }
333 }
334
335
336// public void insert(int index, int value) {

Callers

nothing calls this directly

Calls 2

hasValueMethod · 0.95
appendMethod · 0.95

Tested by

no test coverage detected