Enum Constant and Description |
---|
Guard |
GuardAgainstTheKitty |
GuardWithoutTheKitty |
Pass |
Small |
Modifier and Type | Method and Description |
---|---|
static Bids |
valueOf(int ordinal)
Gets Bids value from ordinal
|
static Bids |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Bids[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bids Small
public static final Bids Guard
public static final Bids GuardWithoutTheKitty
public static final Bids GuardAgainstTheKitty
public static final Bids Pass
public static Bids[] values()
for (Bids c : Bids.values()) System.out.println(c);
public static Bids 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 Bids valueOf(int ordinal) throws java.lang.Exception
ordinal
- the ordinal valuejava.lang.Exception
- if value not between 1 and 5