Class AbstractProvider<E>

  • Type Parameters:
    E - type of the provided elements
    All Implemented Interfaces:
    Direct Known Subclasses:

    public abstract class AbstractProvider<@NonNull E>
    extends Object
    implements Provider<E>
    AbstractProvider can be used as base class for Provider implementations. It supports the registration and notification of listeners.
    Dennis Nobel - Initial contribution
    • Constructor Detail

      • AbstractProvider

        public AbstractProvider()
    • Method Detail

      • notifyListenersAboutAddedElement

        protected void notifyListenersAboutAddedElement​(@NonNull E element)
      • notifyListenersAboutRemovedElement

        protected void notifyListenersAboutRemovedElement​(@NonNull E element)
      • notifyListenersAboutUpdatedElement

        protected void notifyListenersAboutUpdatedElement​(@NonNull E oldElement,
                                                          @NonNull E element)