MaxComparator<T> extension
- on
-
- Comparator<
T>
- Comparator<
Methods
-
max(
T a, T b) → T -
Available on Comparator<
Returns the maximum of the two argumentsT> , provided by the MaxComparator extensiona
andb
. -
maxOf(
Iterable< T> iterable, {T orElse()?}) → T -
Available on Comparator<
Returns the maximum of the providedT> , provided by the MaxComparator extensioniterable
.