| Modifier and Type | Field and Description |
|---|---|
| private IteratingBufferedRunningLengthWord | |
| private CloneableIterator |
| Access | Constructor and Description |
|---|---|
| public | BufferedIterator(final CloneableIterator<EWAHIterator>
iterator iterator)Instantiates a new iterating buffered running length word. |
| Modifier and Type | Method and Description |
|---|---|
| public BufferedIterator | clone()
Overrides java. Implements com. Creates and returns a copy of this object. |
| public void | discardFirstWords(long
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(long
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 long | 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 long | Returns: the running lengthImplements com. Gets the running length. |
| public boolean | Returns: whether the move was possibleImplements com. Move to the next RunningLengthWord |
| public long | Returns: the sizeImplements com. Size in uncompressed words of the current running length word. |
| iteratingBrlw | back to summary |
|---|---|
| private IteratingBufferedRunningLengthWord iteratingBrlw | |
| masterIterator | back to summary |
|---|---|
| private CloneableIterator<EWAHIterator> masterIterator | |
| BufferedIterator | back to summary |
|---|---|
| public BufferedIterator(final CloneableIterator<EWAHIterator> iterator) Instantiates a new iterating buffered running length word.
| |
| clone | back to summary |
|---|---|
| public BufferedIterator 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(long x) Implements com. Discard first words, iterating to the next running length word if needed.
| |
| discardLiteralWords | back to summary |
|---|---|
| public void discardLiteralWords(long 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 long 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.
| |
| getRunningLength | back to summary |
|---|---|
| public long 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 long size() Implements com. Size in uncompressed words of the current running length word.
| |