public enum Milibucket extends java.lang.Enum<Milibucket>
| Modifier and Type | Field and Description |
|---|---|
int |
amount
The amount of mb which make up this amount.
|
| Modifier and Type | Method and Description |
|---|---|
static Milibucket |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Milibucket[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Milibucket NUGGET
public static final Milibucket INGOT
public static final Milibucket Bottle
public static final Milibucket BUCKET
public static final Milibucket BLOCK
public static Milibucket[] values()
for (Milibucket c : Milibucket.values()) System.out.println(c);
public static Milibucket 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