protected static enum DepthFirstIterator.VisitColor extends Enum<DepthFirstIterator.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 DepthFirstIterator.VisitColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DepthFirstIterator.VisitColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DepthFirstIterator.VisitColor WHITE
public static final DepthFirstIterator.VisitColor GRAY
public static final DepthFirstIterator.VisitColor BLACK
public static DepthFirstIterator.VisitColor[] values()
for (DepthFirstIterator.VisitColor c : DepthFirstIterator.VisitColor.values()) System.out.println(c);
public static DepthFirstIterator.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 © 2019. All rights reserved.