MaxComparator<T> extension

on

Methods

max(T a, T b) → T

Available on Comparator<T>, provided by the MaxComparator extension

Returns the maximum of the two arguments a and b.
maxOf(Iterable<T> iterable, {T orElse()?}) → T

Available on Comparator<T>, provided by the MaxComparator extension

Returns the maximum of the provided iterable.