Class SorterFunction<T>

java.lang.Object
io.reactivex.rxjava3.internal.util.SorterFunction<T>
All Implemented Interfaces:
Function<List<T>,List<T>>

public final class SorterFunction<T> extends Object implements Function<List<T>,List<T>>
  • Field Details

  • Constructor Details

    • SorterFunction

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

    • apply

      public List<T> apply(List<T> t)
      Description copied from interface: Function
      Apply some calculation to the input value and return some other value.
      Specified by:
      apply in interface Function<List<T>,List<T>>
      Parameters:
      t - the input value
      Returns:
      the output value