Enum TraversalOptionParent.Pick
- java.lang.Object
-
- java.lang.Enum<TraversalOptionParent.Pick>
-
- org.apache.tinkerpop.gremlin.process.traversal.step.TraversalOptionParent.Pick
-
- All Implemented Interfaces:
Serializable
,Comparable<TraversalOptionParent.Pick>
- Enclosing interface:
- TraversalOptionParent<M,S,E>
public static enum TraversalOptionParent.Pick extends Enum<TraversalOptionParent.Pick>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TraversalOptionParent.Pick
valueOf(String name)
Returns the enum constant of this type with the specified name.static TraversalOptionParent.Pick[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
any
public static final TraversalOptionParent.Pick any
-
none
public static final TraversalOptionParent.Pick none
-
-
Method Detail
-
values
public static TraversalOptionParent.Pick[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TraversalOptionParent.Pick c : TraversalOptionParent.Pick.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TraversalOptionParent.Pick valueOf(String name)
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
-
-