drop Last While
inline fun ByteBuffer.dropLastWhile(predicate: (Byte) -> Boolean): List<Byte>
Content copied to clipboard
inline fun ShortBuffer.dropLastWhile(predicate: (Short) -> Boolean): List<Short>
Content copied to clipboard
inline fun IntBuffer.dropLastWhile(predicate: (Int) -> Boolean): List<Int>
Content copied to clipboard
inline fun LongBuffer.dropLastWhile(predicate: (Long) -> Boolean): List<Long>
Content copied to clipboard
inline fun FloatBuffer.dropLastWhile(predicate: (Float) -> Boolean): List<Float>
Content copied to clipboard
inline fun DoubleBuffer.dropLastWhile(predicate: (Double) -> Boolean): List<Double>
Content copied to clipboard
Returns a list containing all elements except last elements that satisfy the given predicate.
Samples
kool.buffers.Collections.Transformations.drop