Enum Class Twiss3D.IND_3D

java.lang.Object
java.lang.Enum<Twiss3D.IND_3D>
xal.tools.beam.Twiss3D.IND_3D
All Implemented Interfaces:
Serializable, Comparable<Twiss3D.IND_3D>, Constable, IIndex
Enclosing class:
Twiss3D

public static enum Twiss3D.IND_3D extends Enum<Twiss3D.IND_3D> implements IIndex
Enumeration for the element position indices of three-dimensional objects.
Author:
Christopher K. Allen
  • Enum Constant Details

  • Method Details

    • values

      public static Twiss3D.IND_3D[] 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 Twiss3D.IND_3D 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:
      Integer value of enumeration constant