|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.nfgraph.OrdinalSet
com.netflix.nfgraph.build.NFBuildGraphOrdinalSet
public class NFBuildGraphOrdinalSet
And implementation of OrdinalSet returned for connections in an NFBuildGraph.
| Field Summary |
|---|
| Fields inherited from class com.netflix.nfgraph.OrdinalSet |
|---|
EMPTY_SET |
| Constructor Summary | |
|---|---|
NFBuildGraphOrdinalSet(int[] ordinals,
int size)
|
|
| Method Summary | |
|---|---|
int[] |
asArray()
Returns an array containing all elements in the set. |
boolean |
contains(int value)
Returns true when the specified value is contained in this set. |
OrdinalIterator |
iterator()
|
int |
size()
|
| Methods inherited from class com.netflix.nfgraph.OrdinalSet |
|---|
containsAll |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NFBuildGraphOrdinalSet(int[] ordinals,
int size)
| Method Detail |
|---|
public boolean contains(int value)
true when the specified value is contained in this set. Depending on the implementation,
this operation will have one of two performance characteristics:
O(1) for HashSetOrdinalSet and BitSetOrdinalSetO(n) for CompactOrdinalSet and NFBuildGraphOrdinalSet
contains in class OrdinalSetpublic int[] asArray()
asArray in class OrdinalSetpublic OrdinalIterator iterator()
iterator in class OrdinalSetOrdinalIterator over this set.public int size()
size in class OrdinalSet
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||