Package org.jmol.c

Enum HB

All Implemented Interfaces:
Serializable, Comparable<HB>, java.lang.constant.Constable

public enum HB extends Enum<HB>
Enum for hydrogen bonding donor/acceptor type
  • Enum Constant Details

    • NOT

      public static final HB NOT
    • ACCEPTOR

      public static final HB ACCEPTOR
    • DONOR

      public static final HB DONOR
    • UNKNOWN

      public static final HB UNKNOWN
  • Constructor Details

    • HB

      private HB()
  • Method Details

    • values

      public static HB[] 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 HB 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
    • getType

      public static HB getType(Atom atom)
    • isPossibleHBond

      public static boolean isPossibleHBond(HB typeA, HB typeB)