SmallestComparator<T> extension
- on
-
- Comparator<
T>
- Comparator<
Methods
-
smallest(
Iterable< T> iterable, int k) → List<T> -
Available on Comparator<
Returns a list of theT> , provided by the SmallestComparator extensionk
smallest elements from the given iterable according to this ordering, in order from smallest to largest.