public interface DictionarySection extends Closeable
Modifier and Type | Method and Description |
---|---|
CharSequence |
extract(long pos)
Find the String associated to a given ID
|
long |
getNumberOfElements()
Number of entries in the dictionary section.
|
Iterator<? extends CharSequence> |
getSortedEntries()
Iterator over all entries in the dictionary, sorted lexicographically.
|
long |
locate(CharSequence s)
Find a String and return its ID.
|
long |
size()
Size in bytes of the strings held in the dictionary section.
|
long locate(CharSequence s)
s
- CharSequence extract(long pos)
pos
- long size()
long getNumberOfElements()
Iterator<? extends CharSequence> getSortedEntries()
Copyright © 2020 DataWeb Research. All rights reserved.