Enum Abbreviations.Option

    • Enum Constant Detail


        public static final Abbreviations.Option ALLOW_SINGLETON
        Allow a structured to be collapsed to a single label.

        public static final Abbreviations.Option AUTO_CONTRACT_HETERO
        Automatically contract on hetero atoms, e.g. -NMe3

        public static final Abbreviations.Option AUTO_CONTRACT_TERMINAL
        Automatically contract on terminal atoms, e.g. -CMe3. This will also allow contraction of symmetric abbreviations around a bond, e.g. Ph-Ph => Ph2

        public static final Abbreviations.Option AUTO_CONTRACT_LINKERS
        On auto-contract to linker, e.g. -S(=O)(=O)- => -S(O2)-
    • Method Detail

      • values

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

        public static Abbreviations.Option 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