public class DebugRingSet extends RingSet implements IRingSet
LARGE_FIRST, SMALL_FIRST
Constructor and Description |
---|
DebugRingSet() |
Modifier and Type | Method and Description |
---|---|
void |
add(IRingSet ringSet)
Adds all rings of another RingSet if they are not already part of this ring set.
|
boolean |
contains(IAtom atom)
True, if at least one of the rings in the ringset contains
the given atom.
|
IRingSet |
getConnectedRings(IRing ring)
Returns all the rings in the RingSet that share
one or more atoms with a given ring.
|
IRingSet |
getRings(IAtom atom)
Returns a vector of all rings that this atom is part of.
|
IRingSet |
getRings(IBond bond)
Returns a vector of all rings that this bond is part of.
|
add, addAtomContainer, addAtomContainer, atomContainers, getAtomContainer, getAtomContainerCount, getMultiplier, getMultiplier, getMultipliers, isEmpty, removeAllAtomContainers, removeAtomContainer, removeAtomContainer, replaceAtomContainer, setMultiplier, setMultiplier, setMultipliers, sortAtomContainers, stateChanged
addListener, compare, getBuilder, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopy
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, addAtomContainer, addAtomContainer, atomContainers, getAtomContainer, getAtomContainerCount, getMultiplier, getMultiplier, getMultipliers, removeAllAtomContainers, removeAtomContainer, removeAtomContainer, replaceAtomContainer, setMultiplier, setMultiplier, setMultipliers, sortAtomContainers
addListener, clone, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString
getBuilder
public IRingSet getRings(IBond bond)
RingSet
public IRingSet getRings(IAtom atom)
RingSet
public IRingSet getConnectedRings(IRing ring)
RingSet
getConnectedRings
in interface IRingSet
getConnectedRings
in class RingSet
ring
- A ring with which all return rings must share one or more atomspublic void add(IRingSet ringSet)
RingSet
AtomContainerSet.addAtomContainer(org.openscience.cdk.interfaces.IAtomContainer)