public class OrderQueryBond extends SMARTSBond
IBond.Order, IBond.Stereo
Constructor and Description |
---|
OrderQueryBond(IBond.Order order)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(IBond bond)
Returns true of the given
bond matches this IQueryBond. |
String |
toString()
Returns a one line string representation of this Container.
|
atoms, clone, compare, contains, get2DCenter, get3DCenter, getAtom, getAtomCount, getConnectedAtom, getConnectedAtoms, getOrder, getStereo, isConnectedTo, setAtom, setAtoms, setOrder, setStereo
getElectronCount, setElectronCount
addListener, 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
getElectronCount, setElectronCount
addListener, getFlag, getFlags, getID, getListenerCount, getNotification, getProperties, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty
getBuilder
public OrderQueryBond(IBond.Order order)
order
- the order of bondpublic boolean matches(IBond bond)
IQueryBond
bond
matches this IQueryBond.matches
in interface IQueryBond
matches
in class SMARTSBond
bond
- IBond to match against