Class MergerBiFunction<T>
- java.lang.Object
-
- io.reactivex.rxjava3.internal.util.MergerBiFunction<T>
-
- Type Parameters:
T
- the value type
- All Implemented Interfaces:
BiFunction<java.util.List<T>,java.util.List<T>,java.util.List<T>>
public final class MergerBiFunction<T> extends java.lang.Object implements BiFunction<java.util.List<T>,java.util.List<T>,java.util.List<T>>
A BiFunction that merges two Lists into a new list.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Comparator<? super T>
comparator
-
Constructor Summary
Constructors Constructor Description MergerBiFunction(java.util.Comparator<? super T> comparator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<T>
apply(java.util.List<T> a, java.util.List<T> b)
Calculate a value based on the input values.
-
-
-
Field Detail
-
comparator
final java.util.Comparator<? super T> comparator
-
-
Constructor Detail
-
MergerBiFunction
public MergerBiFunction(java.util.Comparator<? super T> comparator)
-
-
Method Detail
-
apply
public java.util.List<T> apply(java.util.List<T> a, java.util.List<T> b)
Description copied from interface:BiFunction
Calculate a value based on the input values.- Specified by:
apply
in interfaceBiFunction<java.util.List<T>,java.util.List<T>,java.util.List<T>>
- Parameters:
a
- the first valueb
- the second value- Returns:
- the result value
-
-