diff --git a/core/src/processing/data/IntList.java b/core/src/processing/data/IntList.java index fda738c54..627187d06 100644 --- a/core/src/processing/data/IntList.java +++ b/core/src/processing/data/IntList.java @@ -852,6 +852,19 @@ public class IntList implements Iterable { } +// /** +// * Count the number of times each entry is found in this list. +// * Converts each entry to a String so it can be used as a key. +// */ +// public IntDict getTally() { +// IntDict outgoing = new IntDict(); +// for (int i = 0; i < count; i++) { +// outgoing.increment(String.valueOf(data[i])); +// } +// return outgoing; +// } + + public IntList getSubset(int start) { return getSubset(start, count - start); }