public enum NearableType extends java.lang.Enum<NearableType>
Enum Constant and Description |
---|
ALL |
BAG |
BED |
BIKE |
CAR |
CHAIR |
DOG |
DOOR |
FRIDGE |
GENERIC |
SHOE |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
text |
Modifier and Type | Method and Description |
---|---|
static NearableType |
fromString(java.lang.String typeString) |
java.lang.String |
toString() |
static NearableType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NearableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NearableType ALL
public static final NearableType DOG
public static final NearableType CAR
public static final NearableType FRIDGE
public static final NearableType BAG
public static final NearableType BIKE
public static final NearableType CHAIR
public static final NearableType BED
public static final NearableType DOOR
public static final NearableType SHOE
public static final NearableType GENERIC
public static final NearableType UNKNOWN
public static NearableType[] values()
for (NearableType c : NearableType.values()) System.out.println(c);
public static NearableType 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 static NearableType fromString(java.lang.String typeString)
public java.lang.String toString()
toString
in class java.lang.Enum<NearableType>