public abstract class IndexBlock extends Block
Constructor and Description |
---|
IndexBlock(int blockSize) |
Modifier and Type | Method and Description |
---|---|
WordEntry |
findEntryPrefixedBy(char[] word,
boolean isCaseSensitive) |
WordEntry |
findExactEntry(char[] word) |
abstract boolean |
isEmpty()
Returns whether the block is empty or not (if it doesn't contain any wordEntry).
|
abstract boolean |
nextEntry(WordEntry entry)
Finds the next wordEntry and stores it in the given entry.
|
void |
reset() |
public WordEntry findEntryPrefixedBy(char[] word, boolean isCaseSensitive)
public WordEntry findExactEntry(char[] word)
public abstract boolean isEmpty()
public abstract boolean nextEntry(WordEntry entry)
public void reset()
Copyright © 2018 JBoss by Red Hat. All rights reserved.