Enum Projection

    • Enum Constant Detail

      • Fischer

        public static final Projection Fischer
        Fischer projections are used for linear chain-form carbohydrates. They are drawn vertically with all atoms at right angles around stereocenters.
      • Haworth

        public static final Projection Haworth
        Haworth projection are used to depict ring-form carbohydrates. The ring may be of size 5, 6, or 7 (rarer). Here the ring is flat and the substituents connected to stereocenters are drawn directly above or below the plane of the ring.
      • Chair

        public static final Projection Chair
        Projection of the low energy conformation (chair) of a cyclohexane. Used for carbohydrates.
    • Method Detail

      • values

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

        public static Projection 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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null