@Test public void testEnumeratorValues() throws Exception { testEnumeratorValues("src/test/resources/dict/english-words.80 (scowl-2015.05.18).txt"); testEnumeratorValues("src/test/resources/dict/dw_category_grouping_names.dat"); }
@Override public List<T> enumeratorValues() { List<T> result = Lists.newArrayListWithExpectedSize(getSize()); byte[] buf = new byte[maxValueLength]; visitNode(headSize, buf, 0, result); return result; }
TrieDictionary extends CacheDictionary<T> { @Override public List<T> enumeratorValues() { List<T> result = Lists.newArrayListWithExpectedSize(getSize()); byte[] buf = new byte[maxValueLength]; visitNode(headSize, buf, 0, result); return result; } }
TrieDictionary extends CacheDictionary<T> { @Override public List<T> enumeratorValues() { List<T> result = Lists.newArrayListWithExpectedSize(getSize()); byte[] buf = new byte[maxValueLength]; visitNode(headSize, buf, 0, result); return result; } TrieDictionary();  TrieDictionary(byte[] trieBytes); }
TrieDictionary extends CacheDictionary<T> { @Override public List<T> enumeratorValues() { List<T> result = Lists.newArrayListWithExpectedSize(getSize()); byte[] buf = new byte[maxValueLength]; visitNode(headSize, buf, 0, result); return result; } TrieDictionary();  TrieDictionary(byte[] trieBytes); @Override int getMinId(); @Override int getMaxId(); @Override int getSizeOfId(); @Override int getSizeOfValue(); int getStorageSizeInBytes(); @Override void write(DataOutput out); @Override void readFields(DataInput in); @Override List<T> enumeratorValues(); @Override void dump(PrintStream out); @Override int hashCode(); @Override boolean equals(Object o); @Override boolean contains(Dictionary other); static void main(String[] args); }
TrieDictionary extends CacheDictionary<T> { @Override public List<T> enumeratorValues() { List<T> result = Lists.newArrayListWithExpectedSize(getSize()); byte[] buf = new byte[maxValueLength]; visitNode(headSize, buf, 0, result); return result; } TrieDictionary();  TrieDictionary(byte[] trieBytes); @Override int getMinId(); @Override int getMaxId(); @Override int getSizeOfId(); @Override int getSizeOfValue(); int getStorageSizeInBytes(); @Override void write(DataOutput out); @Override void readFields(DataInput in); @Override List<T> enumeratorValues(); @Override void dump(PrintStream out); @Override int hashCode(); @Override boolean equals(Object o); @Override boolean contains(Dictionary other); static void main(String[] args); static final byte[] MAGIC; static final int MAGIC_SIZE_I; static final int BIT_IS_LAST_CHILD; static final int BIT_IS_END_OF_VALUE; }