- All Implemented Interfaces:
Serializable,Comparable<GraphWalk.Control>
- Enclosing class:
GraphWalk
Controls the traversal.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe default.Don't visit any members or fields of the curent object.Don't visit any (more) super classes of the current object.Immediatly stop the traversal. -
Method Summary
Modifier and TypeMethodDescriptionstatic GraphWalk.ControlReturns the enum constant of this type with the specified name.static GraphWalk.Control[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STOP
Immediatly stop the traversal. -
CONTINUE
The default. Continue the traversal as usual. -
CONTINUE_BUT_DONT_GO_DEEPER
Don't visit any members or fields of the curent object. -
CONTINUE_BUT_DONT_GO_SUPER
Don't visit any (more) super classes of the current object.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-