Package org.jmol.c

Enum HB

    • Enum Constant Detail

      • 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 Detail

      • HB

        private HB()
    • Method Detail

      • values

        public static HB[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (HB c : HB.values())
            System.out.println(c);
        
        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)