public class CompactOrdinalIterator extends java.lang.Object implements OrdinalIterator
OrdinalIterator returned for ordinals represented as variable-byte deltas in an NFCompressedGraph.CompactOrdinalSetEMPTY_ITERATOR, NO_MORE_ORDINALS| Modifier and Type | Method and Description |
|---|---|
OrdinalIterator |
copy()
Obtain a copy of this
OrdinalIterator. |
boolean |
isOrdered() |
int |
nextOrdinal() |
void |
reset()
Rewinds this
OrdinalIterator to the beginning of the set. |
public int nextOrdinal()
nextOrdinal in interface OrdinalIteratorpublic void reset()
OrdinalIteratorOrdinalIterator to the beginning of the set.reset in interface OrdinalIteratorpublic OrdinalIterator copy()
OrdinalIteratorOrdinalIterator. The returned OrdinalIterator will be reset to the beginning of the set.copy in interface OrdinalIteratorpublic boolean isOrdered()
isOrdered in interface OrdinalIteratortrue if the ordinals returned from this set are guaranteed to be in ascending order. Returns false otherwise.