public static enum DequeMoveParams.Direction extends Enum<DequeMoveParams.Direction>
Modifier and Type | Method and Description |
---|---|
static DequeMoveParams.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DequeMoveParams.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DequeMoveParams.Direction LEFT
public static final DequeMoveParams.Direction RIGHT
public static DequeMoveParams.Direction[] values()
for (DequeMoveParams.Direction c : DequeMoveParams.Direction.values()) System.out.println(c);
public static DequeMoveParams.Direction 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 © 2014–2021 Redisson. All rights reserved.