Class MergerBiFunction<T>

java.lang.Object
io.reactivex.rxjava3.internal.util.MergerBiFunction<T>
Type Parameters:
T - the value type
All Implemented Interfaces:
BiFunction<List<T>,List<T>,List<T>>

public final class MergerBiFunction<T> extends Object implements BiFunction<List<T>,List<T>,List<T>>
A BiFunction that merges two Lists into a new list.
  • Field Details

  • Constructor Details

    • MergerBiFunction

      public MergerBiFunction(Comparator<? super T> comparator)
  • Method Details

    • apply

      public List<T> apply(List<T> a, List<T> b)
      Description copied from interface: BiFunction
      Calculate a value based on the input values.
      Specified by:
      apply in interface BiFunction<List<T>,List<T>,List<T>>
      Parameters:
      a - the first value
      b - the second value
      Returns:
      the result value