diff --git a/core/src/processing/data/Table.java b/core/src/processing/data/Table.java index 99208a718..01f39f3e6 100644 --- a/core/src/processing/data/Table.java +++ b/core/src/processing/data/Table.java @@ -2944,12 +2944,12 @@ public class Table { // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . - protected String[] getUnique(String column) { - return getUnique(getColumnIndex(column)); + public String[] listUnique(String column) { + return listUnique(getColumnIndex(column)); } - protected String[] getUnique(int column) { + public String[] listUnique(int column) { HashMapSucks found = new HashMapSucks(); for (int row = 0; row < getRowCount(); row++) { found.check(getString(row, column)); @@ -2960,12 +2960,12 @@ public class Table { } - protected HashMap getUniqueCount(String columnName) { - return getUniqueCount(getColumnIndex(columnName)); + public HashMap tallyUnique(String columnName) { + return tallyUnique(getColumnIndex(columnName)); } - protected HashMap getUniqueCount(int column) { + public HashMap tallyUnique(int column) { HashMapSucks outgoing = new HashMapSucks(); for (int row = 0; row < rowCount; row++) { String entry = getString(row, column);