public enum ParticleStatus extends java.lang.Enum<ParticleStatus>
Modifier and Type | Field and Description |
---|---|
private static ParticleStatus[] |
BY_ID |
private int |
id |
private java.lang.String |
resourceKey |
Modifier and Type | Method and Description |
---|---|
static ParticleStatus |
byId(int id) |
int |
getId() |
java.lang.String |
getResourceKey() |
static ParticleStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParticleStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParticleStatus ALL
public static final ParticleStatus DECREASED
public static final ParticleStatus MINIMAL
private static final ParticleStatus[] BY_ID
private final int id
private final java.lang.String resourceKey
public static ParticleStatus[] values()
for (ParticleStatus c : ParticleStatus.values()) System.out.println(c);
public static ParticleStatus 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 java.lang.String getResourceKey()
public int getId()
public static ParticleStatus byId(int id)