Interface IMatchUpdateListener<Match extends IPatternMatch>

All Known Implementing Classes:
MatchUpdateAdapter

public interface IMatchUpdateListener<Match extends IPatternMatch>
An interface for low-level notifications about match appearance and disappearance.

See

invalid reference
InterpreterMatcher#addCallbackOnMatchUpdate(IMatchUpdateListener, boolean)
for usage. Clients should consider using MatchUpdateAdapter or deriving their implementation from it.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Will be invoked on each new match that appears.
    void
    Will be invoked on each existing match that disappears.
  • Method Details

    • notifyAppearance

      void notifyAppearance(Match match)
      Will be invoked on each new match that appears.
      Parameters:
      match - the match that has just appeared.
    • notifyDisappearance

      void notifyDisappearance(Match match)
      Will be invoked on each existing match that disappears.
      Parameters:
      match - the match that has just disappeared.