OrderedComparator<T> extension

on

Methods

isOrdered(Iterable<T> iterable) bool

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

Tests if the specified iterable is in increasing order.
isStrictlyOrdered(Iterable<T> iterable) bool

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

Tests if the specified Iterable is in strict increasing order.