public class OrderQueryBond extends Bond implements IQueryBond
IBond.Order, IBond.Stereo
Constructor and Description |
---|
OrderQueryBond() |
OrderQueryBond(IQueryAtom atom1,
IQueryAtom atom2,
IBond.Order order) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(IBond bond)
Returns true of the given
bond matches this IQueryBond. |
void |
setAtomAt(IAtom atom,
int position) |
void |
setAtoms(IAtom[] atoms)
Sets the array of atoms making up this bond.
|
atoms, clone, compare, contains, get2DCenter, get3DCenter, getAtom, getAtomCount, getConnectedAtom, getConnectedAtoms, getOrder, getStereo, isConnectedTo, setAtom, setOrder, setStereo, toString
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()
public OrderQueryBond(IQueryAtom atom1, IQueryAtom atom2, IBond.Order order)
public boolean matches(IBond bond)
IQueryBond
bond
matches this IQueryBond.matches
in interface IQueryBond
bond
- IBond to match againstpublic void setAtoms(IAtom[] atoms)
Bond
setAtoms
in interface IBond
setAtoms
in class Bond
atoms
- An array of atoms that forms this bondBond.atoms
public void setAtomAt(IAtom atom, int position)