Class FlowableInternalHelper.FlatMapWithCombinerOuter<T,​R,​U>

  • All Implemented Interfaces:
    Function<T,​org.reactivestreams.Publisher<R>>
    Enclosing class:
    FlowableInternalHelper

    static final class FlowableInternalHelper.FlatMapWithCombinerOuter<T,​R,​U>
    extends java.lang.Object
    implements Function<T,​org.reactivestreams.Publisher<R>>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private BiFunction<? super T,​? super U,​? extends R> combiner  
      private Function<? super T,​? extends org.reactivestreams.Publisher<? extends U>> mapper  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.reactivestreams.Publisher<R> apply​(T t)
      Apply some calculation to the input value and return some other value.
      • Methods inherited from class java.lang.Object

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

      • combiner

        private final BiFunction<? super T,​? super U,​? extends R> combiner
      • mapper

        private final Function<? super T,​? extends org.reactivestreams.Publisher<? extends U>> mapper
    • Constructor Detail

      • FlatMapWithCombinerOuter

        FlatMapWithCombinerOuter​(BiFunction<? super T,​? super U,​? extends R> combiner,
                                 Function<? super T,​? extends org.reactivestreams.Publisher<? extends U>> mapper)
    • Method Detail

      • apply

        public org.reactivestreams.Publisher<R> apply​(T t)
                                               throws java.lang.Throwable
        Description copied from interface: Function
        Apply some calculation to the input value and return some other value.
        Specified by:
        apply in interface Function<T,​R>
        Parameters:
        t - the input value
        Returns:
        the output value
        Throws:
        java.lang.Throwable - if the implementation wishes to throw any type of exception