Class Functions.ListSorter<T>

java.lang.Object
io.reactivex.rxjava3.internal.functions.Functions.ListSorter<T>
All Implemented Interfaces:
Function<List<T>,List<T>>
Enclosing class:
Functions

static final class Functions.ListSorter<T> extends Object implements Function<List<T>,List<T>>
  • Field Details

  • Constructor Details

    • ListSorter

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

    • apply

      public List<T> apply(List<T> v)
      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:
      v - the input value
      Returns:
      the output value