|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A Molecule query. Like AtomQuery, MoleculeQuery
is immutable - meaning that every method invocation will return the same result
for the same Molecule throughout the lifetime of the
MoleculeQuery.
TemplateMoleculeQuery,
"Immutable Pattern (Grand98)"| Method Summary | |
int |
countMatches(Molecule molecule)
Returns the number of non-degenerate occurrences of this query in the specified Molecule. |
AtomGraphCollection |
getMatches(Molecule molecule)
Returns a mapping of all occurrences of this query onto the specified
Molecule. |
boolean |
match(Molecule molecule)
Returns true if this MoleculeQuery matches molecule,
or false otherwise. |
| Method Detail |
public boolean match(Molecule molecule)
true if this MoleculeQuery matches molecule,
or false otherwise.
molecule - the Molecule to query
true if a match was found, or false otherwisepublic int countMatches(Molecule molecule)
Molecule.
molecule - the Molecule to query
moleculepublic AtomGraphCollection getMatches(Molecule molecule)
Molecule.
molecule - the Molecule to query
molecule
|
The Octet Molecular Representation Framework v0.8.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||