Package io.reactivex.rxjava3.functions
Interface BiFunction<T1,T2,R>
- Type Parameters:
T1- the first value typeT2- the second value typeR- the result type
- All Known Implementing Classes:
FlowableInternalHelper.SimpleBiGenerator,FlowableInternalHelper.SimpleGenerator,ListAddBiConsumer,MergerBiFunction,ObservableInternalHelper.SimpleBiGenerator,ObservableInternalHelper.SimpleGenerator,ParallelFailureHandling
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface (callback) that computes a value based on multiple input values.
-
Method Summary
-
Method Details
-
apply
Calculate a value based on the input values.- Parameters:
t1- the first valuet2- the second value- Returns:
- the result value
- Throws:
Throwable- if the implementation wishes to throw any type of exception
-