Interface ProviderChangeListener<E>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void added​(Provider<@NonNull E> provider, @NonNull E element)
      Notifies the listener that a single element has been added.
      void removed​(Provider<@NonNull E> provider, @NonNull E element)
      Notifies the listener that a single element has been removed.
      void updated​(Provider<@NonNull E> provider, @NonNull E oldelement, @NonNull E element)
      Notifies the listener that a single element has been updated.
    • Method Detail

      • added

        void added​(Provider<@NonNull E> provider,
                   @NonNull E element)
        Notifies the listener that a single element has been added.
        Parameters:
        provider - the provider that provides the element
        element - the element that has been added
      • removed

        void removed​(Provider<@NonNull E> provider,
                     @NonNull E element)
        Notifies the listener that a single element has been removed.
        Parameters:
        provider - the provider that provides the element
        element - the element that has been removed
      • updated

        void updated​(Provider<@NonNull E> provider,
                     @NonNull E oldelement,
                     @NonNull E element)
        Notifies the listener that a single element has been updated.
        Parameters:
        provider - the provider that provides the element
        element - the element that has been updated