Class AbstractFileWordList.Cache.Entry

java.lang.Object
org.passay.dictionary.AbstractFileWordList.Cache.Entry
Enclosing class:
AbstractFileWordList.Cache

static class AbstractFileWordList.Cache.Entry extends Object
Cache entry that indicates cached word index and byte offset of start of word in backing file.
  • Field Details

    • index

      final int index
      Cached word index.
    • position

      final long position
      Byte 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.