Top Description Fields Constructors Methods
io.reactivex.rxjava3.internal.util

public final Class MergerBiFunction<T>

extends Object
implements BiFunction<List<T>, List<T>, List<T>>
Class Inheritance
All Implemented Interfaces
io.reactivex.rxjava3.functions.BiFunction
Type Parameters
<T>
the value type
Imports
java.util.*, io.reactivex.rxjava3.functions.BiFunction

A BiFunction that merges two Lists into a new list.

Field Summary

Modifier and TypeField and Description
pack-priv final Comparator<? super T>

Constructor Summary

AccessConstructor and Description
public
MergerBiFunction(Comparator<? super T> comparator)

Method Summary

Modifier and TypeMethod and Description
public List<T>
apply(List<T>
the first value
a
,
List<T>
the second value
b
)

Implements io.reactivex.rxjava3.functions.BiFunction.apply.

Calculate a value based on the input values.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

comparatorback to summary
pack-priv final Comparator<? super T> comparator

Constructor Detail

MergerBiFunctionback to summary
public MergerBiFunction(Comparator<? super T> comparator)

Method Detail

applyback to summary
public List<T> apply(List<T> a, List<T> b)

Implements io.reactivex.rxjava3.functions.BiFunction.apply.

Doc from io.reactivex.rxjava3.functions.BiFunction.apply.

Calculate a value based on the input values.

Parameters
a:List<T>

the first value

b:List<T>

the second value

Returns:List<T>

the result value

Annotations
@Override