Interface CustomMatcher


@PublicAPI public interface CustomMatcher
Interface for custom matching of atoms and bonds during search.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    match(MolAtom queryAtom, MolAtom targetAtom)
    Returns true if the given atoms are matchable according to some custom matching criteria.
    boolean
    match(MolBond queryBond, MolBond targetBond)
    Returns true if the given bonds are matchable according to some custom matching criteria.
  • Method Details

    • match

      boolean match(MolAtom queryAtom, MolAtom targetAtom)
      Returns true if the given atoms are matchable according to some custom matching criteria.
      Parameters:
      queryAtom - the query atom (not null)
      targetAtom - the target atom (not null)
      Returns:
      true if the given query and target atoms match
    • match

      boolean match(MolBond queryBond, MolBond targetBond)
      Returns true if the given bonds are matchable according to some custom matching criteria.
      Parameters:
      queryBond - the query bond (not null)
      targetBond - the target bond (not null)
      Returns:
      true if the given query and target bonds match