// add a leaf state (shared)
objectTree.add((byte) 0x0);
objectTree.add((byte) 0x1);
// create a sorted set of the byte[] values
SortedSet<byte[]> sortedValues = new TreeSet<byte[]>(new ByteArrayComparator());
sortedValues.addAll(values);
// create the arraylist representation of the trie
create(sortedValues, 1);