public class OrderQueryBondOrderOnly extends QueryBond implements IQueryBond
IQueryBond
that matches IBond object only based on bond order, and
disregarding any aromaticity flag.IBond.Order, IBond.Stereo
Constructor and Description |
---|
OrderQueryBondOrderOnly(IChemObjectBuilder builder) |
OrderQueryBondOrderOnly(IQueryAtom atom1,
IQueryAtom atom2,
IBond.Order order,
IChemObjectBuilder builder) |
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 query bond.
|
atoms, clone, compare, contains, get2DCenter, get3DCenter, getAtom, getAtomCount, getBegin, getConnectedAtom, getConnectedAtoms, getElectronCount, getEnd, getOrder, getOther, getStereo, isAromatic, isConnectedTo, isInRing, setAtom, setElectronCount, setIsAromatic, setIsInRing, setOrder, setStereo, toString
addListener, addProperties, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, matches, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
atoms, clone, compare, contains, get2DCenter, get3DCenter, getAtom, getAtomCount, getBegin, getConnectedAtom, getConnectedAtoms, getEnd, getOrder, getOther, getStereo, isAromatic, isConnectedTo, isInRing, setAtom, setIsAromatic, setIsInRing, setOrder, setStereo
getElectronCount, setElectronCount
addListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString
getBuilder
public OrderQueryBondOrderOnly(IChemObjectBuilder builder)
public OrderQueryBondOrderOnly(IQueryAtom atom1, IQueryAtom atom2, IBond.Order order, IChemObjectBuilder builder)
public boolean matches(IBond bond)
IQueryBond
bond
matches this IQueryBond.matches
in interface IQueryBond
bond
- IBond to match againstpublic void setAtoms(IAtom[] atoms)
QueryBond
setAtoms
in interface IBond
setAtoms
in class QueryBond
atoms
- An array of atoms that forms this query bondQueryBond.atoms
public void setAtomAt(IAtom atom, int position)
Copyright © 2017. All Rights Reserved.