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

Method appendUnique

core/src/processing/data/IntList.java:292–297  ·  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

290
291 /** Add this value, but only if it's not already in the list. */
292 @SuppressWarnings("unused")
293 public void appendUnique(int value) {
294 if (!hasValue(value)) {
295 append(value);
296 }
297 }
298
299
300 public void insert(int index, int value) {

Callers 2

packageListFromZipMethod · 0.45
packageListFromFolderMethod · 0.45

Calls 2

hasValueMethod · 0.95
appendMethod · 0.95

Tested by

no test coverage detected