public static enum Doghouse.DoghouseLocation extends java.lang.Enum<Doghouse.DoghouseLocation>
| Enum Constant and Description |
|---|
LEFT_OF_ROUTE |
OUTSIDE_OF_TURN |
RIGHT_OF_ROUTE |
| Modifier and Type | Method and Description |
|---|---|
static Doghouse.DoghouseLocation |
fromConstant(int c) |
int |
getConstant() |
static Doghouse.DoghouseLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Doghouse.DoghouseLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Doghouse.DoghouseLocation OUTSIDE_OF_TURN
public static final Doghouse.DoghouseLocation RIGHT_OF_ROUTE
public static final Doghouse.DoghouseLocation LEFT_OF_ROUTE
public static Doghouse.DoghouseLocation[] values()
for (Doghouse.DoghouseLocation c : Doghouse.DoghouseLocation.values()) System.out.println(c);
public static Doghouse.DoghouseLocation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getConstant()
public static Doghouse.DoghouseLocation fromConstant(int c)