Enum Class Projection

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

public enum Projection extends Enum<Projection>
Stereochemistry projection types.
John May
  • Enum Constant Details

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

    • values

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

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