Top Description Methods
io.reactivex.functions

public Interface BiFunction<T1, T2, R>

Known Direct Implementers
io.reactivex.internal.operators.flowable.FlowableInternalHelper.SimpleGenerator, io.reactivex.internal.operators.flowable.FlowableInternalHelper.SimpleBiGenerator, io.reactivex.internal.operators.observable.ObservableInternalHelper.SimpleGenerator, io.reactivex.internal.operators.observable.ObservableInternalHelper.SimpleBiGenerator, io.reactivex.internal.util.ListAddBiConsumer, io.reactivex.internal.util.MergerBiFunction, io.reactivex.parallel.ParallelFailureHandling
Type Parameters
<T1>
the first value type
<T2>
the second value type
<R>
the result type
Imports
io.reactivex.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 Exception

Calculate a value based on the input values.

Parameters
t1:T1

the first value

t2:T2

the second value

Returns:R

the result value

Annotations
@NonNull
Exceptions
Exception:
on error