Package org.passay.dictionary
Class AbstractFileWordList.Cache.Entry
java.lang.Object
org.passay.dictionary.AbstractFileWordList.Cache.Entry
- Enclosing class:
- AbstractFileWordList.Cache
Cache entry that indicates cached word index and byte offset of start of word in backing file.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
index
final int indexCached word index. -
position
final long positionByte offset where word starts in backing file.
-
-
Constructor Details
-
Entry
Entry(int i, long pos) Creates a new cache entry.- Parameters:
i- Cached word index.pos- Byte offset where word starts in backing file.
-