public static enum Particle.ParticleType extends Enum<Particle.ParticleType>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Particle.ParticleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Particle.ParticleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Particle.ParticleType ATTRIBUTE
public static final Particle.ParticleType ELEMENT
public static Particle.ParticleType[] values()
for (Particle.ParticleType c : Particle.ParticleType.values()) System.out.println(c);
public static Particle.ParticleType 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 String toString()
toString
in class Enum<Particle.ParticleType>
Copyright © 2019. All Rights Reserved.