java.io.Serializable
, java.lang.Comparable<Thief_PirateFamiliar.Familiar>
protected static enum Thief_PirateFamiliar.Familiar extends java.lang.Enum<Thief_PirateFamiliar.Familiar>
Enum Constant | Description |
---|---|
BOA_CONSTRICTOR |
|
HILLGIANT |
|
IGUANA |
|
PARROT |
|
RAT |
|
SEATURTLE |
|
SPIDERMONKEY |
Modifier and Type | Field | Description |
---|---|---|
java.lang.String |
name |
Modifier and Type | Method | Description |
---|---|---|
static Thief_PirateFamiliar.Familiar |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Thief_PirateFamiliar.Familiar[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Thief_PirateFamiliar.Familiar RAT
public static final Thief_PirateFamiliar.Familiar PARROT
public static final Thief_PirateFamiliar.Familiar SPIDERMONKEY
public static final Thief_PirateFamiliar.Familiar BOA_CONSTRICTOR
public static final Thief_PirateFamiliar.Familiar IGUANA
public static final Thief_PirateFamiliar.Familiar SEATURTLE
public static final Thief_PirateFamiliar.Familiar HILLGIANT
public static Thief_PirateFamiliar.Familiar[] values()
for (Thief_PirateFamiliar.Familiar c : Thief_PirateFamiliar.Familiar.values()) System.out.println(c);
public static Thief_PirateFamiliar.Familiar 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 null