Class ObservablePatternMatchSet.SetCollectionUpdate

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.function.Function<Match,​?> converter  
      protected java.util.Map<Match,​java.lang.Object> matchToItem  
    • Constructor Summary

      Constructors 
      Constructor Description
      SetCollectionUpdate​(java.util.function.Function<Match,​?> converter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMatch​(Match match)
      Can be called to indicate that a match appeared and should be added to the collection.
      void clear()
      Called when the collection is cleared to clean up internal fields.
      void removeMatch​(Match match)
      Can be called to indicate that a match disappeared and should be removed from the collection.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait