kmath
0.3.1-dev-RC
common
kmath-core
/
space.kscience.kmath.misc
/
requireSorted
require
Sorted
fun
<
T
:
Comparable
<
T
>
>
Buffer
<
T
>
.
requireSorted
(
)
(
source
)
Checks that the
Buffer
is sorted (ascending) and throws
IllegalArgumentException
if it is not.