protected static enum CrossComponentIterator.VisitColor extends Enum<CrossComponentIterator.VisitColor>
Enum Constant and Description |
---|
BLACK
Vertex has been returned via iterator, and we're done with all of its out-edges.
|
GRAY
Vertex has been returned via iterator, but we're not done with all of its out-edges yet.
|
WHITE
Vertex has not been returned via iterator yet.
|
Modifier and Type | Method and Description |
---|---|
static CrossComponentIterator.VisitColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrossComponentIterator.VisitColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrossComponentIterator.VisitColor WHITE
public static final CrossComponentIterator.VisitColor GRAY
public static final CrossComponentIterator.VisitColor BLACK
public static CrossComponentIterator.VisitColor[] values()
for (CrossComponentIterator.VisitColor c : CrossComponentIterator.VisitColor.values()) System.out.println(c);
public static CrossComponentIterator.VisitColor valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.