Class IndexBlock

    • Constructor Detail

      • IndexBlock

        public IndexBlock​(int blockSize)
    • Method Detail

      • findEntryPrefixedBy

        public WordEntry findEntryPrefixedBy​(char[] word,
                                             boolean isCaseSensitive)
      • findExactEntry

        public WordEntry findExactEntry​(char[] word)
      • isEmpty

        public abstract boolean isEmpty()
        Returns whether the block is empty or not (if it doesn't contain any wordEntry).
      • nextEntry

        public abstract boolean nextEntry​(WordEntry entry)
        Finds the next wordEntry and stores it in the given entry.
      • reset

        public void reset()