public static enum InventoryItem.Type extends Enum<InventoryItem.Type>
Enum Constant and Description |
---|
Block |
Error |
FilteredBlock |
Transaction |
Modifier and Type | Method and Description |
---|---|
static InventoryItem.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InventoryItem.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InventoryItem.Type Error
public static final InventoryItem.Type Transaction
public static final InventoryItem.Type Block
public static final InventoryItem.Type FilteredBlock
public static InventoryItem.Type[] values()
for (InventoryItem.Type c : InventoryItem.Type.values()) System.out.println(c);
public static InventoryItem.Type 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 nullCopyright © 2018. All rights reserved.