| Modifier and Type | Field and Description |
|---|---|
| private IteratingBufferedRunningLengthWord32 | |
| private CloneableIterator |
| Access | Constructor and Description |
|---|---|
| public | BufferedIterator32(final CloneableIterator<EWAHIterator32>
iterator iterator)Instantiates a new iterating buffered running length word. |
| Modifier and Type | Method and Description |
|---|---|
| public BufferedIterator32 | clone()
Overrides java. Implements com. Creates and returns a copy of this object. |
| public void | discardFirstWords(int
the number of words to be discarded x)Implements com. Discard first words, iterating to the next running length word if needed. |
| public void | discardLiteralWords(int
the number of words to discard x)Implements com. Discard x literal words (assumes that there is no running word) |
| public void | discardRunningWords()
Implements com. Discard all running words |
| public int | Returns: the literal wordzero based index index)Implements com. Get the nth literal word for the current running length word |
| public int | Returns: the number of literal wordsImplements com. Gets the number of literal words for the current running length word. |
| public boolean | Returns: the running bitImplements com. Gets the running bit. |
| public int | Returns: the running lengthImplements com. Gets the running length. |
| public boolean | Returns: whether the move was possibleImplements com. Move to the next RunningLengthWord |
| public int | Returns: the sizeImplements com. Size in uncompressed words of the current running length word. |
| iteratingBrlw | back to summary |
|---|---|
| private IteratingBufferedRunningLengthWord32 iteratingBrlw | |
| masterIterator | back to summary |
|---|---|
| private CloneableIterator<EWAHIterator32> masterIterator | |
| BufferedIterator32 | back to summary |
|---|---|
| public BufferedIterator32(final CloneableIterator<EWAHIterator32> iterator) Instantiates a new iterating buffered running length word.
| |
| clone | back to summary |
|---|---|
| public BufferedIterator32 clone() throws CloneNotSupportedException Overrides java. Implements com. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by
| |
| discardFirstWords | back to summary |
|---|---|
| public void discardFirstWords(int x) Implements com. Discard first words, iterating to the next running length word if needed.
| |
| discardLiteralWords | back to summary |
|---|---|
| public void discardLiteralWords(int x) Implements com. Doc from com. Discard x literal words (assumes that there is no running word)
| |
| discardRunningWords | back to summary |
|---|---|
| public void discardRunningWords() Implements com. Doc from com. Discard all running words
| |
| getLiteralWordAt | back to summary |
|---|---|
| public int getLiteralWordAt(int index) Implements com. Get the nth literal word for the current running length word
| |
| getNumberOfLiteralWords | back to summary |
|---|---|
| public int getNumberOfLiteralWords() Implements com. Gets the number of literal words for the current running length word.
| |
| getRunningBit | back to summary |
|---|---|
| public boolean getRunningBit() Implements com. Gets the running bit. RunningBit
| |
| getRunningLength | back to summary |
|---|---|
| public int getRunningLength() Implements com. Gets the running length.
| |
| next | back to summary |
|---|---|
| public boolean next() Implements com. Move to the next RunningLengthWord
| |
| size | back to summary |
|---|---|
| public int size() Implements com. Size in uncompressed words of the current running length word.
| |