|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.octet.query.TemplateAtomQuery
An implementation of the AtomQuery interface in which an existing
Atom is used as a template for comparing other Atoms.
TemplateAtomQuery will match Atoms in molecules that are
either identical to the one in which the template is hosted, or which are
superstructures of the molecule hosting the template.
This implementation ignores the Configuration of Atoms.
To perform queries in which configuration is defined, use a MoleculeQueryBuilder
.
| Constructor Summary | |
TemplateAtomQuery(Atom atom,
Molecule molecule)
Constructs a TemplateAtomQuery using atom as the
templateAtom. |
|
| Method Summary | |
boolean |
match(Atom atom,
Molecule molecule)
Returns true if this AtomQuery matches atom,
or false otherwise. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TemplateAtomQuery(Atom atom,
Molecule molecule)
TemplateAtomQuery using atom as the
templateAtom.
atom - the template Atommolecule - the Molecule in which atom resides
java.lang.NullPointerException - if atom is null| Method Detail |
public boolean match(Atom atom,
Molecule molecule)
AtomQuerytrue if this AtomQuery matches atom,
or false otherwise.
match in interface AtomQueryatom - the Atom to matchmolecule - the Molecule in which atom resides
true if a match was found, or false otherwise
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||