-
-
Constructor Summary
Constructors
-
Method Summary
Apply some calculation to the input value and return some other value.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Details
-
SorterFunction
public SorterFunction(Comparator<? super T> comparator)
-
Method Details
-
apply
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