public enum PathPrimitiveRemoveLocation extends Enum<PathPrimitiveRemoveLocation> implements Enumeration
Enum Constant and Description |
---|
REMOVE_LOCATION_BACK
Remove from the back of the line.
|
REMOVE_LOCATION_FRONT
Remove from the front of the line.
|
Modifier and Type | Method and Description |
---|---|
static PathPrimitiveRemoveLocation |
getDefault()
Get the enum constant that is considered to be the default.
|
static PathPrimitiveRemoveLocation |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static PathPrimitiveRemoveLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathPrimitiveRemoveLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathPrimitiveRemoveLocation REMOVE_LOCATION_FRONT
public static final PathPrimitiveRemoveLocation REMOVE_LOCATION_BACK
public static PathPrimitiveRemoveLocation[] values()
for (PathPrimitiveRemoveLocation c : PathPrimitiveRemoveLocation.values()) System.out.println(c);
public static PathPrimitiveRemoveLocation 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 nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static PathPrimitiveRemoveLocation getFromValue(int value)
value
- a numeric value.@Nonnull public static PathPrimitiveRemoveLocation getDefault()