@TestClass(value="org.openscience.cdk.tools.manipulator.ChemSequenceManipulatorTest") public class ChemSequenceManipulator extends Object
Constructor and Description |
---|
ChemSequenceManipulator() |
Modifier and Type | Method and Description |
---|---|
static List<IAtomContainer> |
getAllAtomContainers(IChemSequence sequence)
Returns all the AtomContainer's of a ChemSequence.
|
static List<IChemObject> |
getAllChemObjects(IChemSequence sequence)
Returns a List of all IChemObject inside a ChemSequence.
|
static List<String> |
getAllIDs(IChemSequence sequence) |
static int |
getAtomCount(IChemSequence sequence)
Get the total number of atoms inside an IChemSequence.
|
static int |
getBondCount(IChemSequence sequence)
Get the total number of bonds inside an IChemSequence.
|
@TestMethod(value="testGetAtomCount_IChemSequence") public static int getAtomCount(IChemSequence sequence)
sequence
- The IChemSequence object.@TestMethod(value="testGetBondCount_IChemSequence") public static int getBondCount(IChemSequence sequence)
sequence
- The IChemSequence object.@TestMethod(value="testGetAllAtomContainers_IChemSequence") public static List<IAtomContainer> getAllAtomContainers(IChemSequence sequence)
@TestMethod(value="testGetAllChemObjects_IChemSequence") public static List<IChemObject> getAllChemObjects(IChemSequence sequence)
@TestMethod(value="testGetAllIDs_IChemSequence") public static List<String> getAllIDs(IChemSequence sequence)