Enum Chi

  • All Implemented Interfaces:
    Serializable, Comparable<Chi>

    public enum Chi
    extends Enum<Chi>
    A glycosidic bond torsion angle (chi), which is defined differently for purines and pyrimidines.
    • Enum Constant Detail

      • PURINE

        public static final Chi PURINE
      • PYRIMIDINE

        public static final Chi PYRIMIDINE
    • Method Detail

      • values

        public static Chi[] 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 (Chi c : Chi.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Chi 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
      • angleType

        public TorsionAngleType angleType()
        Returns:
        The torsion angle type for this instance of chi.