Class AtomTypeManipulator
- java.lang.Object
-
- org.openscience.cdk.tools.manipulator.AtomTypeManipulator
-
-
Constructor Summary
Constructors Constructor Description AtomTypeManipulator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
configure(IAtom atom, IAtomType atomType)
Method that assign properties to an atom given a particular atomType.static void
configureUnsetProperties(IAtom atom, IAtomType atomType)
Method that assign properties to an atom given a particular atomType.
-
-
-
Method Detail
-
configure
public static void configure(IAtom atom, IAtomType atomType)
Method that assign properties to an atom given a particular atomType. AnIllegalArgumentException
is thrown if the givenIAtomType
is null. This method overwrites non-null values.- Parameters:
atom
- Atom to configureatomType
- 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. AnIllegalArgumentException
is thrown if the givenIAtomType
is null. This method only sets null values.- Parameters:
atom
- Atom to configureatomType
- AtomType. Must not be null.
-
-