Class InverseSymbolSetQueryAtom

All Implemented Interfaces:
Cloneable, IAtom, IAtomType, ICDKObject, IChemObject, IElement, IIsotope, IQueryAtom

@Deprecated public class InverseSymbolSetQueryAtom extends QueryAtom implements IQueryAtom
Deprecated.
A QueryAtom that matches all symbols but those in this container. You may add symbols to this container. This QueryAtom will only give a match if it does NOT contain the symbol of the Atom to match (example: add "C" to get a match for all non-"C"-Atoms).
Author:
kha
See Also:
Source code:
main
Belongs to CDK module:
isomorphism
Created on:
2004-09-16
  • Constructor Details

    • InverseSymbolSetQueryAtom

      public InverseSymbolSetQueryAtom(IChemObjectBuilder builder)
      Deprecated.
      Constructor for the InverseSymbolSetQueryAtom object
  • Method Details

    • setOperator

      public void setOperator(String str)
      Deprecated.
    • matches

      public boolean matches(IAtom atom)
      Deprecated.
      The matches implementation of the QueryAtom interface.
      Specified by:
      matches in interface IQueryAtom
      Overrides:
      matches in class QueryAtom
      Parameters:
      atom - The atom to be matched by this QueryAtom
      Returns:
      true if Atom matched
    • addSymbol

      public void addSymbol(String symbol)
      Deprecated.
      Add a symbol to this QueryAtom
      Parameters:
      symbol - The symbol to add
    • removeSymbol

      public void removeSymbol(String symbol)
      Deprecated.
      Remove a symbol from this QueryAtom
      Parameters:
      symbol - The symbol to remove
    • hasSymbol

      public boolean hasSymbol(String symbol)
      Deprecated.
      Check whether a symbol is already registered
      Parameters:
      symbol - The symbol to check for
      Returns:
      true if symbol already registered
    • getSymbolSet

      public Set<String> getSymbolSet()
      Deprecated.
      Retrieve the Set of symbols
      Returns:
      The symbol Set
    • toString

      public String toString()
      Deprecated.
      The toString method
      Specified by:
      toString in interface IChemObject
      Overrides:
      toString in class Object
      Returns:
      The String representation of this object.