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

Method appendUnique

core/src/processing/data/LongList.java:297–301  ·  view source on GitHub ↗

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

(int value)

Source from the content-addressed store, hash-verified

295
296 /** Add this value, but only if it's not already in the list. */
297 public void appendUnique(int value) {
298 if (!hasValue(value)) {
299 append(value);
300 }
301 }
302
303
304// 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