public static enum FluidHelper.FluidExchange extends java.lang.Enum<FluidHelper.FluidExchange>
| Enum Constant and Description |
|---|
ITEM_TO_TANK |
TANK_TO_ITEM |
| Modifier and Type | Method and Description |
|---|---|
static FluidHelper.FluidExchange |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FluidHelper.FluidExchange[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FluidHelper.FluidExchange ITEM_TO_TANK
public static final FluidHelper.FluidExchange TANK_TO_ITEM
public static FluidHelper.FluidExchange[] values()
for (FluidHelper.FluidExchange c : FluidHelper.FluidExchange.values()) System.out.println(c);
public static FluidHelper.FluidExchange 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