Class AtomTypeManipulator


  • public class AtomTypeManipulator
    extends Object
    Class with utilities for the IAtomType class.
    Author:
    mfe4, egonw
    Source code:
    main
    Belongs to CDK module:
    standard
    • Constructor Detail

      • AtomTypeManipulator

        public AtomTypeManipulator()
    • Method Detail

      • configure

        public static void configure​(IAtom atom,
                                     IAtomType atomType)
        Method that assign properties to an atom given a particular atomType. An IllegalArgumentException is thrown if the given IAtomType is null. This method overwrites non-null values.
        Parameters:
        atom - Atom to configure
        atomType - AtomType. Must not be null.
      • configureUnsetProperties

        public static void configureUnsetProperties​(IAtom atom,
                                                    IAtomType atomType)
        Method that assign properties to an atom given a particular atomType. An IllegalArgumentException is thrown if the given IAtomType is null. This method only sets null values.
        Parameters:
        atom - Atom to configure
        atomType - AtomType. Must not be null.