Class TotalConnectionAtom

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

@Deprecated public final class TotalConnectionAtom extends SMARTSAtom
Deprecated.
This matches an atom using total number of connections - referred to in SMARTS as the connectivity. The connectivity is specified using the X<number> pattern.
Source code:
main
Belongs to CDK module:
smarts
Keywords:
SMARTS
  • Constructor Details

    • TotalConnectionAtom

      public TotalConnectionAtom(int connectivity, IChemObjectBuilder builder)
      Deprecated.
      Creates a new instance.
  • Method Details

    • matches

      public boolean matches(IAtom atom)
      Deprecated.
      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