Class InternalObservableUtils.CollectorCaller<T,​R>

  • All Implemented Interfaces:
    Func2<R,​T,​R>, Function
    Enclosing class:
    InternalObservableUtils

    static final class InternalObservableUtils.CollectorCaller<T,​R>
    extends java.lang.Object
    implements Func2<R,​T,​R>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) Action2<R,​? super T> collector  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      R call​(R state, T value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • collector

        final Action2<R,​? super T> collector
    • Constructor Detail

      • CollectorCaller

        public CollectorCaller​(Action2<R,​? super T> collector)
    • Method Detail

      • call

        public R call​(R state,
                      T value)
        Specified by:
        call in interface Func2<R,​T,​R>