Package org.jmol.util

Enum Edge.EnumBondOrder

java.lang.Object
java.lang.Enum<Edge.EnumBondOrder>
org.jmol.util.Edge.EnumBondOrder
All Implemented Interfaces:
Serializable, Comparable<Edge.EnumBondOrder>, java.lang.constant.Constable
Enclosing class:
Edge

private static enum Edge.EnumBondOrder extends Enum<Edge.EnumBondOrder>
  • Enum Constant Details

  • Field Details

    • code

      private int code
    • number

      protected String number
    • name

      protected String name
  • Constructor Details

    • EnumBondOrder

      private EnumBondOrder(int code, String number, String name)
  • Method Details

    • values

      public static Edge.EnumBondOrder[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Edge.EnumBondOrder valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getCodeFromName

      protected static int getCodeFromName(String name)
    • getNameFromCode

      protected static String getNameFromCode(int code)
    • getNumberFromCode

      protected static String getNumberFromCode(int code)