|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.nfgraph.compressed.BitSetOrdinalIterator
public class BitSetOrdinalIterator
An implementation of OrdinalIterator returned for ordinals represented as bit sets in an NFCompressedGraph.
BitSetOrdinalSet| Field Summary | |
|---|---|
int |
offset
|
| Fields inherited from interface com.netflix.nfgraph.OrdinalIterator |
|---|
EMPTY_ITERATOR, NO_MORE_ORDINALS |
| Constructor Summary | |
|---|---|
BitSetOrdinalIterator(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 |
| Field Detail |
|---|
public int offset
| Constructor Detail |
|---|
public BitSetOrdinalIterator(com.netflix.nfgraph.util.ByteArrayReader reader)
| Method Detail |
|---|
public int nextOrdinal()
nextOrdinal in interface OrdinalIteratorpublic void reset()
OrdinalIterator to the beginning of the set.
reset in interface OrdinalIteratorpublic OrdinalIterator copy()
OrdinalIterator will be reset to the beginning of the set.
copy in interface OrdinalIteratorpublic boolean isOrdered()
isOrdered in interface OrdinalIteratortrue
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||