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