Class AbstractFileWordList.FileWord

java.lang.Object
org.passay.dictionary.AbstractFileWordList.FileWord
Enclosing class:
AbstractFileWordList

protected static class AbstractFileWordList.FileWord extends Object
Data structure containing word and byte offset into file where word begins in backing file.
  • Field Details

    • word

      final String word
      Word read from backing file.
    • offset

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