Enum IReaction.Direction

    • Enum Constant Detail

      • FORWARD

        public static final IReaction.Direction FORWARD
        Reaction equilibrium which is (almost) fully on the product side. Often denoted with a forward arrow.
      • BACKWARD

        public static final IReaction.Direction BACKWARD
        Reaction equilibrium which is (almost) fully on the reactant side. Often denoted with a backward arrow.
      • BIDIRECTIONAL

        public static final IReaction.Direction BIDIRECTIONAL
        Reaction equilibrium state. Often denoted by a stacked arrows, one forwards, one backwards.
      • NO_GO

        public static final IReaction.Direction NO_GO
        Reaction is a no-go, Often denoted by a cross or hash arrow.
      • RETRO_SYNTHETIC

        public static final IReaction.Direction RETRO_SYNTHETIC
        Indicate the precursors for a given molecule, note this will make swap where reactant/products appear. Usually denoted with an open arrow.
      • RESONANCE

        public static final IReaction.Direction RESONANCE
        Reaction shows interconversion between resonance forms. Usually denoted by a double-headed arrow.
    • Method Detail

      • values

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

        public static IReaction.Direction 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