Class OrderQueryBond

All Implemented Interfaces:
Cloneable, IBond, ICDKObject, IChemObject, IElectronContainer, IQueryBond

@Deprecated public class OrderQueryBond extends SMARTSBond
Deprecated.
This matches a bond with a certain bond order. Daylight spec indicates that if match a single bond using '-', it should be an aliphatic single bond
Source code:
main
Belongs to CDK module:
smarts
Keywords:
SMARTS
  • Constructor Details

    • OrderQueryBond

      public OrderQueryBond(IBond.Order order, IChemObjectBuilder builder)
      Deprecated.
      Creates a new instance
      Parameters:
      order - the order of bond
  • Method Details

    • matches

      public boolean matches(IBond bond)
      Deprecated.
      Description copied from class: QueryBond
      Returns true of the given bond matches this IQueryBond.
      Specified by:
      matches in interface IQueryBond
      Overrides:
      matches in class SMARTSBond
      Parameters:
      bond - IBond to match against
      Returns:
      true, if this IQueryBond matches the given IBond
    • toString

      public String toString()
      Deprecated.
      Description copied from class: QueryBond
      Returns a one line string representation of this query bond.
      Specified by:
      toString in interface IChemObject
      Overrides:
      toString in class QueryBond
      Returns:
      The string representation of this query bond