Class NonCHHeavyAtom

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

@Deprecated public class NonCHHeavyAtom extends SMARTSAtom
Deprecated.
This matcher any heavy atom that is not C or H.
Source code:
main
Belongs to CDK module:
smarts
Keywords:
SMARTS
  • Constructor Details

    • NonCHHeavyAtom

      public NonCHHeavyAtom(IChemObjectBuilder builder)
      Deprecated.
      Creates a new instance
  • Method Details

    • matches

      public boolean matches(IAtom atom)
      Deprecated.
      Description copied from class: QueryAtom
      Returns true of the given atom matches this IQueryAtom.
      Specified by:
      matches in interface IQueryAtom
      Overrides:
      matches in class SMARTSAtom
      Parameters:
      atom - IAtom to match against
      Returns:
      true, if this IQueryAtom matches the given IAtom
    • toString

      public String toString()
      Deprecated.
      Description copied from interface: IChemObject
      Returns a one line description of this IChemObject.
      Specified by:
      toString in interface IChemObject
      Overrides:
      toString in class Object
      Returns:
      a String representation of this object