Enum MDLV2000Writer.SPIN_MULTIPLICITY

    • Method Detail

      • values

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

        public static MDLV2000Writer.SPIN_MULTIPLICITY 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
      • getValue

        public int getValue()
        Radical value for the spin multiplicity in the properties block.
        Returns:
        the radical value
      • getSingleElectrons

        public int getSingleElectrons()
        The number of single electrons that correspond to the spin multiplicity.
        Returns:
        the number of single electrons
      • ofValue

        public static MDLV2000Writer.SPIN_MULTIPLICITY ofValue​(int value)
                                                        throws CDKException
        Create a SPIN_MULTIPLICITY instance for the specified value.
        Parameters:
        value - input value (in the property block)
        Returns:
        instance
        Throws:
        CDKException - unknown spin multiplicity value