public enum SensorLocation extends Enum<SensorLocation>
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static SensorLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SensorLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SensorLocation CENTER
public static final SensorLocation ALLIGN
public static final SensorLocation CORNER
public static SensorLocation[] values()
for (SensorLocation c : SensorLocation.values()) System.out.println(c);
public static SensorLocation 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()