|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.nfgraph.compressed.HashSetOrdinalIterator
public class HashSetOrdinalIterator
An implementation of OrdinalIterator returned for ordinals represented as variable-byte hashed integer arrays in an NFCompressedGraph.
HashSetOrdinalSet| Field Summary |
|---|
| Fields inherited from interface com.netflix.nfgraph.OrdinalIterator |
|---|
EMPTY_ITERATOR, NO_MORE_ORDINALS |
| Constructor Summary | |
|---|---|
HashSetOrdinalIterator(com.netflix.nfgraph.util.ByteArrayReader reader)
|
|
| Method Summary | |
|---|---|
OrdinalIterator |
copy()
Obtain a copy of this |
boolean |
isOrdered()
|
int |
nextOrdinal()
|
void |
reset()
Rewinds this OrdinalIterator to the beginning of the set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HashSetOrdinalIterator(com.netflix.nfgraph.util.ByteArrayReader reader)
| Method Detail |
|---|
public int nextOrdinal()
nextOrdinal in interface OrdinalIteratorpublic void reset()
OrdinalIteratorOrdinalIterator to the beginning of the set.
reset in interface OrdinalIteratorpublic OrdinalIterator copy()
OrdinalIteratorOrdinalIterator 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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||