MCPcopy Index your code
hub / github.com/benfry/processing4 / appendUnique

Method appendUnique

core/src/processing/data/DoubleList.java:337–342  ·  view source on GitHub ↗

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

(double value)

Source from the content-addressed store, hash-verified

335
336 /** Add this value, but only if it's not already in the list. */
337 @SuppressWarnings("unused")
338 public void appendUnique(double value) {
339 if (!hasValue(value)) {
340 append(value);
341 }
342 }
343
344
345 public void insert(int index, double value) {

Callers

nothing calls this directly

Calls 2

hasValueMethod · 0.95
appendMethod · 0.95

Tested by

no test coverage detected