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

void org::openscience::cdk::isomorphism::matchers::QueryAtomContainer::add ( IAtomContainer  atomContainer ) [inline]

Adds all atoms and electronContainers of a given atomcontainer to this container.

Parameters:
atomContainerThe atomcontainer to be added

Reimplemented from org::openscience::cdk::AtomContainer.

Definition at line 41 of file QueryAtomContainer.java.

                                              {
        if (container instanceof QueryAtomContainer) {
            super.add(container);
        } else {
            throw new IllegalArgumentException("AtomContainer is not of type QueryAtomContainer");
        }
    }

Generated by  Doxygen 1.6.0   Back to index