LargestComparator<T> extension

on

Methods

largest(Iterable<T> iterable, int k) List<T>
Returns a list of the k largest elements of the given iterable according to this ordering, in order from largest to smallest.