Logo Search packages:      
Sourcecode: cdk version File versions  Download package

static List<IAtomContainer> org::openscience::cdk::tools::manipulator::AtomContainerSetManipulator::getAllAtomContainers ( IAtomContainerSet  set ) [inline, static]

Returns all the AtomContainer's of a MoleculeSet.

Parameters:
setThe collection of IAtomContainer objects
Returns:
A list of individual IAtomContainer's

Definition at line 113 of file AtomContainerSetManipulator.java.

References org::openscience::cdk::interfaces::IAtomContainer::add().

Referenced by org::openscience::cdk::tools::manipulator::MoleculeSetManipulator::getAllAtomContainers(), and sort().

                                                                                   {
      List<IAtomContainer> atomContainerList = new ArrayList<IAtomContainer>();
        for (IAtomContainer atomContainer : set.atomContainers()) {
            atomContainerList.add(atomContainer);
        }
      return atomContainerList;
    }

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index