Class ObservableInternalHelper.SimpleBiGenerator<T,S>
- java.lang.Object
-
- io.reactivex.rxjava3.internal.operators.observable.ObservableInternalHelper.SimpleBiGenerator<T,S>
-
- All Implemented Interfaces:
BiFunction<S,Emitter<T>,S>
- Enclosing class:
- ObservableInternalHelper
static final class ObservableInternalHelper.SimpleBiGenerator<T,S> extends java.lang.Object implements BiFunction<S,Emitter<T>,S>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) BiConsumer<S,Emitter<T>>
consumer
-
Constructor Summary
Constructors Constructor Description SimpleBiGenerator(BiConsumer<S,Emitter<T>> consumer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S
apply(S t1, Emitter<T> t2)
Calculate a value based on the input values.
-
-
-
Field Detail
-
consumer
final BiConsumer<S,Emitter<T>> consumer
-
-
Constructor Detail
-
SimpleBiGenerator
SimpleBiGenerator(BiConsumer<S,Emitter<T>> consumer)
-
-
Method Detail
-
apply
public S apply(S t1, Emitter<T> t2) throws java.lang.Throwable
Description copied from interface:BiFunction
Calculate a value based on the input values.
-
-