java.io.Serializable
, java.lang.Comparable<Rideable.Basis>
public static enum Rideable.Basis extends java.lang.Enum<Rideable.Basis>
Enum Constant | Description |
---|---|
AIR_FLYING |
|
ENTER_IN |
|
FURNITURE_SIT |
|
FURNITURE_SLEEP |
|
FURNITURE_TABLE |
|
LADDER |
|
LAND_BASED |
|
WAGON |
|
WATER_BASED |
Modifier and Type | Method | Description |
---|---|---|
static java.lang.String[] |
getStrings() |
|
java.lang.String |
toString() |
|
static Rideable.Basis |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Rideable.Basis[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rideable.Basis LAND_BASED
public static final Rideable.Basis WATER_BASED
public static final Rideable.Basis AIR_FLYING
public static final Rideable.Basis FURNITURE_SIT
public static final Rideable.Basis FURNITURE_SLEEP
public static final Rideable.Basis FURNITURE_TABLE
public static final Rideable.Basis ENTER_IN
public static final Rideable.Basis LADDER
public static final Rideable.Basis WAGON
public static Rideable.Basis[] values()
for (Rideable.Basis c : Rideable.Basis.values()) System.out.println(c);
public static Rideable.Basis 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 java.lang.String toString()
toString
in class java.lang.Enum<Rideable.Basis>
public static java.lang.String[] getStrings()