Class AbstractProvider<E>

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

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

      • AbstractProvider

        public AbstractProvider()
    • Method Detail

      • notifyListenersAboutAddedElement

        protected void notifyListenersAboutAddedElement​(E element)
      • notifyListenersAboutRemovedElement

        protected void notifyListenersAboutRemovedElement​(E element)
      • notifyListenersAboutUpdatedElement

        protected void notifyListenersAboutUpdatedElement​(E oldElement,
                                                          E element)