Enum Class R3.IND

java.lang.Object
java.lang.Enum<R3.IND>
xal.tools.math.r3.R3.IND
All Implemented Interfaces:
Serializable, Comparable<R3.IND>, Constable, IIndex
Enclosing class:
R3

public static enum R3.IND extends Enum<R3.IND> implements IIndex
Class R3x3.IND is an enumeration of the matrix indices for the R3x3 class.
Since:
Oct 4, 2013
Author:
Christopher K. Allen
  • Enum Constant Details

    • X

      public static final R3.IND X
      the x axis index of R3
    • Y

      public static final R3.IND Y
      the y axis index of R3
    • Z

      public static final R3.IND Z
      the z axis index of R3
  • Method Details

    • values

      public static R3.IND[] 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

      public static R3.IND valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • val

      public int val()
      Returns the value of the R3x3 matrix index that this enumeration constant represents.
      Specified by:
      val in interface IIndex
      Returns:
      matrix index
      Since:
      Oct 4, 2013
      See Also:
      • xal.tools.math.SquareMatrix.IIndex#val()