Top Description Methods
io.reactivex.rxjava3.functions

public Interface BiFunction<T1, T2, R>

Known Direct Implementers
io.reactivex.rxjava3.internal.operators.flowable.FlowableInternalHelper.SimpleGenerator, io.reactivex.rxjava3.internal.operators.flowable.FlowableInternalHelper.SimpleBiGenerator, io.reactivex.rxjava3.internal.operators.observable.ObservableInternalHelper.SimpleGenerator, io.reactivex.rxjava3.internal.operators.observable.ObservableInternalHelper.SimpleBiGenerator, io.reactivex.rxjava3.internal.util.ListAddBiConsumer, io.reactivex.rxjava3.internal.util.MergerBiFunction, io.reactivex.rxjava3.parallel.ParallelFailureHandling
Annotations
@FunctionalInterface
Type Parameters
<T1>
the first value type
<T2>
the second value type
<R>
the result type
Imports
io.reactivex.rxjava3.annotations.NonNull

A functional interface (callback) that computes a value based on multiple input values.

Method Summary

Modifier and TypeMethod and Description
public R

Returns:

the result value
apply
(T1
the first value
t1
,
T2
the second value
t2
)

Calculate a value based on the input values.

Method Detail

applyback to summary
public R apply(T1 t1, T2 t2) throws Throwable

Calculate a value based on the input values.

Parameters
t1:T1

the first value

t2:T2

the second value

Returns:R

the result value

Exceptions
Throwable:
if the implementation wishes to throw any type of exception