The Octet Molecular Representation Framework v0.8.2

net.sf.octet.query
Class WildcardAtomQuery

java.lang.Object
  extended bynet.sf.octet.query.WildcardAtomQuery
All Implemented Interfaces:
AtomQuery

public class WildcardAtomQuery
extends java.lang.Object
implements AtomQuery

An implementation of AtomQuery that matches all Atoms.

Author:
Richard Apodaca

Constructor Summary
WildcardAtomQuery()
          Constructs a fully functional WildcardAtomQuery.
 
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

WildcardAtomQuery

public WildcardAtomQuery()
Constructs a fully functional WildcardAtomQuery.

Method Detail

match

public boolean match(Atom atom,
                     Molecule molecule)
Description copied from interface: AtomQuery
Returns true if this AtomQuery matches atom, or false otherwise.

Specified by:
match in interface AtomQuery
Parameters:
atom - the Atom to match
molecule - the Molecule in which atom resides
Returns:
true if a match was found, or false otherwise

The Octet Molecular Representation Framework v0.8.2