Class StatefulSubscription<T>

  • All Implemented Interfaces:
    java.util.function.Consumer<T>

    public abstract class StatefulSubscription<T>
    extends java.lang.Object
    implements java.util.function.Consumer<T>
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(T update)  
      protected abstract void accept​(T current, T update)  
      T getCurrent()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Consumer

        andThen
    • Constructor Detail

      • StatefulSubscription

        public StatefulSubscription()
    • Method Detail

      • accept

        protected abstract void accept​(T current,
                                       T update)
      • accept

        public final void accept​(T update)
        Specified by:
        accept in interface java.util.function.Consumer<T>
      • getCurrent

        public T getCurrent()