Package com._1c.g5.lwt
Enum TraverseDirection
- java.lang.Object
-
- java.lang.Enum<TraverseDirection>
-
- com._1c.g5.lwt.TraverseDirection
-
- All Implemented Interfaces:
Serializable
,Comparable<TraverseDirection>
public enum TraverseDirection extends Enum<TraverseDirection>
Specifies the direction in which the traversal should be performed.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TraverseDirection
valueOf(String name)
Returns the enum constant of this type with the specified name.static TraverseDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Forward
public static final TraverseDirection Forward
Traversal should be performed in the forward direction.
-
Reverse
public static final TraverseDirection Reverse
Traversal should be performed in the reverse direction.
-
-
Method Detail
-
values
public static TraverseDirection[] 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 (TraverseDirection c : TraverseDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TraverseDirection 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
-
-