Enum Class R6x6.IND

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

public static enum R6x6.IND extends Enum<R6x6.IND> implements IIndex
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
  • Enum Constant Details

    • X1

      public static final R6x6.IND X1
      Index of the 1st coordinate
    • X2

      public static final R6x6.IND X2
      Index of the 2nd coordinate
    • X3

      public static final R6x6.IND X3
      Index of the 3rd coordinate
    • X4

      public static final R6x6.IND X4
      Index of the 4th coordinate
    • X5

      public static final R6x6.IND X5
      Index of the 5th coordinate
    • X6

      public static final R6x6.IND X6
      Index of the 6th coordinate
  • Method Details

    • values

      public static R6x6.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 R6x6.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()
      Return the integer value of the index position
      Specified by:
      val in interface IIndex
      Returns:
      the numerical index represented by this object