Class ExplicitConnectionAtom

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

@Deprecated public final class ExplicitConnectionAtom extends SMARTSAtom
Deprecated.
Match an atom with the defined degree. The degree is also referred to as the explicit connectivity and is encoded in smarts using D<NUMBER>.
Source code:
main
Belongs to CDK module:
smarts
Keywords:
SMARTS
  • Constructor Details

    • ExplicitConnectionAtom

      public ExplicitConnectionAtom(int degree, IChemObjectBuilder builder)
      Deprecated.
      Create a query atom for matching the degree of an atom. The degree is the number connected atoms.
  • 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