Package xal.tools.math.r3
Enum Class R3x3.IND
- All Implemented Interfaces:
Serializable
,Comparable<R3x3.IND>
,Constable
,IIndex
- Enclosing class:
- R3x3
Class
R3x3.IND
is an enumeration of the matrix indices for
the R3x3
class.- Since:
- Oct 4, 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
Modifier and TypeMethodDescriptionint
val()
Returns the value of theR3x3
matrix index that this enumeration constant represents.static R3x3.IND
Returns the enum constant of this class with the specified name.static R3x3.IND[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
X
the x axis index of R3 -
Y
the y axis index of R3 -
Z
the z axis index of R3
-
-
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()Returns the value of theR3x3
matrix index that this enumeration constant represents.
-