OrderedComparator<T> extension
Extension on Comparator to check ordering of iterables.
- on
-
- Comparator<
T>
- Comparator<
Methods
-
isOrdered(
Iterable< T> iterable) → bool -
Available on Comparator<
Whether the specifiedT> , provided by the OrderedComparator extensioniterableis in increasing order. -
isStrictlyOrdered(
Iterable< T> iterable) → bool -
Available on Comparator<
Whether the specifiedT> , provided by the OrderedComparator extensioniterableis in strict increasing order.