Package xal.tools.math.r6
Enum Class R6x6.IND
- All Implemented Interfaces:
Serializable
,Comparable<R6x6.IND>
,Constable
,IIndex
- Enclosing class:
- R6x6
Enumeration for the element position indices of a homogeneous phase space
objects. Extends the
PhaseIndex
class by adding the
homogeneous element position HOM
.- Since:
- Oct, 2013
- Author:
- Christopher K. Allen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
X1
Index of the 1st coordinate -
X2
Index of the 2nd coordinate -
X3
Index of the 3rd coordinate -
X4
Index of the 4th coordinate -
X5
Index of the 5th coordinate -
X6
Index of the 6th coordinate
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
val
public int val()Return the integer value of the index position
-