public enum InventorySize extends Enum<InventorySize>
| Modifier and Type | Method and Description |
|---|---|
static InventorySize |
getMinAfter(int amount) |
int |
getSize() |
static InventorySize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InventorySize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InventorySize S_9
public static final InventorySize S_18
public static final InventorySize S_27
public static final InventorySize S_36
public static final InventorySize S_45
public static final InventorySize S_54
public static InventorySize[] values()
for (InventorySize c : InventorySize.values()) System.out.println(c);
public static InventorySize valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getSize()
public static InventorySize getMinAfter(int amount)
Copyright © 2015. All rights reserved.