min Of
Returns the smallest value among all values produced by selector function applied to each element in the array.
If any of values produced by selector function is NaN
, the returned result is NaN
.
Throws
if the array is empty.
inline fun <R : Comparable<R>> ByteBuffer.minOf(selector: (Byte) -> R): R
Content copied to clipboard
inline fun <R : Comparable<R>> ShortBuffer.minOf(selector: (Short) -> R): R
Content copied to clipboard
inline fun <R : Comparable<R>> LongBuffer.minOf(selector: (Long) -> R): R
Content copied to clipboard
inline fun <R : Comparable<R>> FloatBuffer.minOf(selector: (Float) -> R): R
Content copied to clipboard
inline fun <R : Comparable<R>> DoubleBuffer.minOf(selector: (Double) -> R): R
Content copied to clipboard
inline fun <R : Comparable<R>> CharBuffer.minOf(selector: (Char) -> R): R
Content copied to clipboard
Returns the smallest value among all values produced by selector function applied to each element in the array.
Throws
if the array is empty.