public enum PhaseIndex extends java.lang.Enum<PhaseIndex> implements IIndex
Modifier and Type | Method and Description |
---|---|
PhaseIndex |
conjugate()
Return the conjugate variable index to this.
|
static java.util.EnumSet<PhaseIndex> |
momentumIndices()
Return the set of indices corresponding to momentum
coordinates.
|
static java.util.EnumSet<PhaseIndex> |
spatialIndices()
Return the set of indices corresponding to spatial
coordinates.
|
int |
val()
Return the integer value of the index position
|
static PhaseIndex |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PhaseIndex[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhaseIndex X
public static final PhaseIndex Xp
public static final PhaseIndex Y
public static final PhaseIndex Yp
public static final PhaseIndex Z
public static final PhaseIndex Zp
public static PhaseIndex[] values()
for (PhaseIndex c : PhaseIndex.values()) System.out.println(c);
public static PhaseIndex 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 static java.util.EnumSet<PhaseIndex> spatialIndices()
public static java.util.EnumSet<PhaseIndex> momentumIndices()
public int val()
public PhaseIndex conjugate()