kool
/
kool.lib
/
onEach
on
Each
inline fun
ByteBuffer
.
onEach
(action: (
Byte
) ->
Unit
):
ByteBuffer
Content copied to clipboard
inline fun
ShortBuffer
.
onEach
(action: (
Short
) ->
Unit
):
ShortBuffer
Content copied to clipboard
inline fun
IntBuffer
.
onEach
(action: (
Int
) ->
Unit
):
IntBuffer
Content copied to clipboard
inline fun
LongBuffer
.
onEach
(action: (
Long
) ->
Unit
):
LongBuffer
Content copied to clipboard
inline fun
FloatBuffer
.
onEach
(action: (
Float
) ->
Unit
):
FloatBuffer
Content copied to clipboard
inline fun
DoubleBuffer
.
onEach
(action: (
Double
) ->
Unit
):
DoubleBuffer
Content copied to clipboard
inline fun
CharBuffer
.
onEach
(action: (
Char
) ->
Unit
):
CharBuffer
Content copied to clipboard
Performs the given
action
on each element and returns the array itself afterwards.