SliceOnComparableSliceExtension<T extends Comparable<T> > extension
- on
-
- Slice<
T>
- Slice<
Methods
-
isSorted(
) → bool - Checks if the elements of this slice are sorted. That is, for each element a and its following element b, a <= b must hold.
-
sortUnstable(
) → void - Sorts the slice, but might not preserve the order of equal elements.