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.
@FunctionalInterface public interface BiFunction<@NonNull T1,@NonNull T2,@NonNull R>A functional interface (callback) that computes a value based on multiple input values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rapply(@NonNull T1 t1, @NonNull T2 t2)Calculate a value based on the input values.
-