public static enum PipePowerIron.PowerMode extends java.lang.Enum<PipePowerIron.PowerMode>
| Modifier and Type | Field and Description |
|---|---|
int |
maxPower |
static PipePowerIron.PowerMode[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static PipePowerIron.PowerMode |
fromId(int id) |
PipePowerIron.PowerMode |
getNext() |
PipePowerIron.PowerMode |
getPrevious() |
static PipePowerIron.PowerMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PipePowerIron.PowerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PipePowerIron.PowerMode M2
public static final PipePowerIron.PowerMode M4
public static final PipePowerIron.PowerMode M8
public static final PipePowerIron.PowerMode M16
public static final PipePowerIron.PowerMode M32
public static final PipePowerIron.PowerMode M64
public static final PipePowerIron.PowerMode M128
public static final PipePowerIron.PowerMode[] VALUES
public final int maxPower
public static PipePowerIron.PowerMode[] values()
for (PipePowerIron.PowerMode c : PipePowerIron.PowerMode.values()) System.out.println(c);
public static PipePowerIron.PowerMode 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 PipePowerIron.PowerMode getNext()
public PipePowerIron.PowerMode getPrevious()
public static PipePowerIron.PowerMode fromId(int id)