public static enum Twiss3D.IND_3D extends java.lang.Enum<Twiss3D.IND_3D> implements IIndex
Enum Constant and Description |
---|
X
The horizontal axis
|
Y
The vertical axis
|
Z
The longitudinal axis
|
Modifier and Type | Method and Description |
---|---|
int |
val()
Return the integer value of the index position
|
static Twiss3D.IND_3D |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Twiss3D.IND_3D[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Twiss3D.IND_3D X
public static final Twiss3D.IND_3D Y
public static final Twiss3D.IND_3D Z
public static Twiss3D.IND_3D[] values()
for (Twiss3D.IND_3D c : Twiss3D.IND_3D.values()) System.out.println(c);
public static Twiss3D.IND_3D 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