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