Package org.passay.dictionary
Class AbstractFileWordList.FileWord
java.lang.Object
org.passay.dictionary.AbstractFileWordList.FileWord
- Enclosing class:
- AbstractFileWordList
Data structure containing word and byte offset into file where word begins in backing file.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
word
Word read from backing file. -
offset
final long offsetByte offset into file where word begins.
-
-
Constructor Details
-
FileWord
FileWord(String s, long position) Creates a new instance with a word and offset.- Parameters:
s- word.position- byte offset into file.
-