Iter$IterComparableSelfExtension<T extends Comparable<T> > extension
- on
-
- Iter<
T>
- Iter<
Methods
-
isSorted(
) → bool - Checks if the elements of this iterator are sorted. That is, for each element a and its following element b, a <= b must hold. If the iterator yields exactly zero or one element, true is returned.
-
max(
) → Option< T> - Returns the maximum element of an iterator.
-
min(
) → Option< T> - Returns the minimum element of an iterator.