Package kool. lib
Types
ByteBufferIterator
Link copied to clipboard
CharBufferIterator
Link copied to clipboard
DoubleBufferIterator
Link copied to clipboard
class DoubleBufferIterator(doubleBuffer: DoubleBuffer) : Iterator<Double>
Content copied to clipboard
FloatBufferIterator
Link copied to clipboard
IntBufferIterator
Link copied to clipboard
LongBufferIterator
Link copied to clipboard
ShortBufferIterator
Link copied to clipboard
Functions
all
Link copied to clipboard
any
Link copied to clipboard
asIterable
Link copied to clipboard
Creates an Iterable instance that wraps the original buffer returning its elements when being iterated.
Creates an Iterable instance that wraps the original buffer returning its elements when being iterated.
Creates an Iterable instance that wraps the original buffer returning its elements when being iterated.
Creates an Iterable instance that wraps the original buffer returning its elements when being iterated.
Creates an Iterable instance that wraps the original buffer returning its elements when being iterated.
Creates an Iterable instance that wraps the original buffer returning its elements when being iterated.
Creates an Iterable instance that wraps the original buffer returning its elements when being iterated.
asList
Link copied to clipboard
Returns a List that wraps the original buffer.
asSequence
Link copied to clipboard
Creates a Sequence instance that wraps the original buffer returning its elements when being iterated.
Creates a Sequence instance that wraps the original buffer returning its elements when being iterated.
Creates a Sequence instance that wraps the original buffer returning its elements when being iterated.
Creates a Sequence instance that wraps the original buffer returning its elements when being iterated.
Creates a Sequence instance that wraps the original buffer returning its elements when being iterated.
Creates a Sequence instance that wraps the original buffer returning its elements when being iterated.
Creates a Sequence instance that wraps the original buffer returning its elements when being iterated.
associate
Link copied to clipboard
Returns a Map containing key-value pairs provided by transform function applied to elements of the given array.
Returns a Map containing key-value pairs provided by transform function applied to elements of the given array.
Returns a Map containing key-value pairs provided by transform function applied to elements of the given array.
Returns a Map containing key-value pairs provided by transform function applied to elements of the given array.
Returns a Map containing key-value pairs provided by transform function applied to elements of the given array.
Returns a Map containing key-value pairs provided by transform function applied to elements of the given array.
associateBy
Link copied to clipboard
inline fun <K> ByteBuffer.associateBy(keySelector: (Byte) -> K): Map<K, Byte>
Content copied to clipboard
Returns a Map containing the elements from the given array indexed by the key returned from keySelector function applied to each element.
inline fun <K> CharBuffer.associateBy(keySelector: (Char) -> K): Map<K, Char>
Content copied to clipboard
Returns a Map containing the elements from the given array indexed by the key returned from keySelector function applied to each element.
inline fun <K> DoubleBuffer.associateBy(keySelector: (Double) -> K): Map<K, Double>
Content copied to clipboard
Returns a Map containing the elements from the given array indexed by the key returned from keySelector function applied to each element.
inline fun <K> FloatBuffer.associateBy(keySelector: (Float) -> K): Map<K, Float>
Content copied to clipboard
Returns a Map containing the elements from the given array indexed by the key returned from keySelector function applied to each element.
Returns a Map containing the elements from the given array indexed by the key returned from keySelector function applied to each element.
inline fun <K> LongBuffer.associateBy(keySelector: (Long) -> K): Map<K, Long>
Content copied to clipboard
Returns a Map containing the elements from the given array indexed by the key returned from keySelector function applied to each element.
inline fun <K> ShortBuffer.associateBy(keySelector: (Short) -> K): Map<K, Short>
Content copied to clipboard
Returns a Map containing the elements from the given array indexed by the key returned from keySelector function applied to each element.
Returns a Map containing the values provided by valueTransform and indexed by keySelector functions applied to elements of the given array.
Returns a Map containing the values provided by valueTransform and indexed by keySelector functions applied to elements of the given array.
Returns a Map containing the values provided by valueTransform and indexed by keySelector functions applied to elements of the given array.
Returns a Map containing the values provided by valueTransform and indexed by keySelector functions applied to elements of the given array.
Returns a Map containing the values provided by valueTransform and indexed by keySelector functions applied to elements of the given array.
Returns a Map containing the values provided by valueTransform and indexed by keySelector functions applied to elements of the given array.
associateByTo
Link copied to clipboard
inline fun <K, M : MutableMap<in K, in Byte>> ByteBuffer.associateByTo(destination: M, keySelector: (Byte) -> K): M
Content copied to clipboard
inline fun <K, M : MutableMap<in K, in Char>> CharBuffer.associateByTo(destination: M, keySelector: (Char) -> K): M
Content copied to clipboard
inline fun <K, M : MutableMap<in K, in Double>> DoubleBuffer.associateByTo(destination: M, keySelector: (Double) -> K): M
Content copied to clipboard
inline fun <K, M : MutableMap<in K, in Float>> FloatBuffer.associateByTo(destination: M, keySelector: (Float) -> K): M
Content copied to clipboard
inline fun <K, M : MutableMap<in K, in Long>> LongBuffer.associateByTo(destination: M, keySelector: (Long) -> K): M
Content copied to clipboard
inline fun <K, M : MutableMap<in K, in Short>> ShortBuffer.associateByTo(destination: M, keySelector: (Short) -> K): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, in V>> ByteBuffer.associateByTo(destination: M, keySelector: (Byte) -> K, valueTransform: (Byte) -> V): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, in V>> CharBuffer.associateByTo(destination: M, keySelector: (Char) -> K, valueTransform: (Char) -> V): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, in V>> DoubleBuffer.associateByTo(destination: M, keySelector: (Double) -> K, valueTransform: (Double) -> V): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, in V>> FloatBuffer.associateByTo(destination: M, keySelector: (Float) -> K, valueTransform: (Float) -> V): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, in V>> LongBuffer.associateByTo(destination: M, keySelector: (Long) -> K, valueTransform: (Long) -> V): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, in V>> ShortBuffer.associateByTo(destination: M, keySelector: (Short) -> K, valueTransform: (Short) -> V): M
Content copied to clipboard
associateTo
Link copied to clipboard
inline fun <K, V, M : MutableMap<in K, in V>> ByteBuffer.associateTo(destination: M, transform: (Byte) -> Pair<K, V>): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, in V>> CharBuffer.associateTo(destination: M, transform: (Char) -> Pair<K, V>): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, in V>> DoubleBuffer.associateTo(destination: M, transform: (Double) -> Pair<K, V>): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, in V>> FloatBuffer.associateTo(destination: M, transform: (Float) -> Pair<K, V>): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, in V>> LongBuffer.associateTo(destination: M, transform: (Long) -> Pair<K, V>): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, in V>> ShortBuffer.associateTo(destination: M, transform: (Short) -> Pair<K, V>): M
Content copied to clipboard
associateWith
Link copied to clipboard
inline fun <V> ByteBuffer.associateWith(valueSelector: (Byte) -> V): Map<Byte, V>
Content copied to clipboard
Returns a Map where keys are elements from the given array and values are produced by the valueSelector function applied to each element.
inline fun <V> CharBuffer.associateWith(valueSelector: (Char) -> V): Map<Char, V>
Content copied to clipboard
Returns a Map where keys are elements from the given array and values are produced by the valueSelector function applied to each element.
inline fun <V> DoubleBuffer.associateWith(valueSelector: (Double) -> V): Map<Double, V>
Content copied to clipboard
Returns a Map where keys are elements from the given array and values are produced by the valueSelector function applied to each element.
inline fun <V> FloatBuffer.associateWith(valueSelector: (Float) -> V): Map<Float, V>
Content copied to clipboard
Returns a Map where keys are elements from the given array and values are produced by the valueSelector function applied to each element.
Returns a Map where keys are elements from the given array and values are produced by the valueSelector function applied to each element.
inline fun <V> LongBuffer.associateWith(valueSelector: (Long) -> V): Map<Long, V>
Content copied to clipboard
Returns a Map where keys are elements from the given array and values are produced by the valueSelector function applied to each element.
inline fun <V> ShortBuffer.associateWith(valueSelector: (Short) -> V): Map<Short, V>
Content copied to clipboard
Returns a Map where keys are elements from the given array and values are produced by the valueSelector function applied to each element.
associateWithTo
Link copied to clipboard
inline fun <V, M : MutableMap<in Byte, in V>> ByteBuffer.associateWithTo(destination: M, valueSelector: (Byte) -> V): M
Content copied to clipboard
inline fun <V, M : MutableMap<in Char, in V>> CharBuffer.associateWithTo(destination: M, valueSelector: (Char) -> V): M
Content copied to clipboard
inline fun <V, M : MutableMap<in Double, in V>> DoubleBuffer.associateWithTo(destination: M, valueSelector: (Double) -> V): M
Content copied to clipboard
inline fun <V, M : MutableMap<in Float, in V>> FloatBuffer.associateWithTo(destination: M, valueSelector: (Float) -> V): M
Content copied to clipboard
inline fun <V, M : MutableMap<in Long, in V>> LongBuffer.associateWithTo(destination: M, valueSelector: (Long) -> V): M
Content copied to clipboard
inline fun <V, M : MutableMap<in Short, in V>> ShortBuffer.associateWithTo(destination: M, valueSelector: (Short) -> V): M
Content copied to clipboard
average
Link copied to clipboard
collectionSizeOrDefault
Link copied to clipboard
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
component5
Link copied to clipboard
contains
Link copied to clipboard
contentEquals
Link copied to clipboard
contentHashCode
Link copied to clipboard
contentToString
Link copied to clipboard
copyInto
Link copied to clipboard
fun ByteBuffer.copyInto(destination: ByteBuffer, destinationOffset: Int = 0, startIndex: Int = 0, endIndex: Int = lim): ByteBuffer
Content copied to clipboard
fun CharBuffer.copyInto(destination: CharBuffer, destinationOffset: Int = 0, startIndex: Int = 0, endIndex: Int = lim): CharBuffer
Content copied to clipboard
fun DoubleBuffer.copyInto(destination: DoubleBuffer, destinationOffset: Int = 0, startIndex: Int = 0, endIndex: Int = lim): DoubleBuffer
Content copied to clipboard
fun FloatBuffer.copyInto(destination: FloatBuffer, destinationOffset: Int = 0, startIndex: Int = 0, endIndex: Int = lim): FloatBuffer
Content copied to clipboard
fun LongBuffer.copyInto(destination: LongBuffer, destinationOffset: Int = 0, startIndex: Int = 0, endIndex: Int = lim): LongBuffer
Content copied to clipboard
fun ShortBuffer.copyInto(destination: ShortBuffer, destinationOffset: Int = 0, startIndex: Int = 0, endIndex: Int = lim): ShortBuffer
Content copied to clipboard
copyOf
Link copied to clipboard
copyOfRange
Link copied to clipboard
count
Link copied to clipboard
distinct
Link copied to clipboard
distinctBy
Link copied to clipboard
inline fun <K> DoubleBuffer.distinctBy(selector: (Double) -> K): List<Double>
Content copied to clipboard
inline fun <K> FloatBuffer.distinctBy(selector: (Float) -> K): List<Float>
Content copied to clipboard
inline fun <K> ShortBuffer.distinctBy(selector: (Short) -> K): List<Short>
Content copied to clipboard
drop
Link copied to clipboard
dropLast
Link copied to clipboard
dropLastWhile
Link copied to clipboard
inline fun ByteBuffer.dropLastWhile(predicate: (Byte) -> Boolean): List<Byte>
Content copied to clipboard
inline fun DoubleBuffer.dropLastWhile(predicate: (Double) -> Boolean): List<Double>
Content copied to clipboard
inline fun FloatBuffer.dropLastWhile(predicate: (Float) -> Boolean): List<Float>
Content copied to clipboard
inline fun LongBuffer.dropLastWhile(predicate: (Long) -> Boolean): List<Long>
Content copied to clipboard
inline fun ShortBuffer.dropLastWhile(predicate: (Short) -> Boolean): List<Short>
Content copied to clipboard
dropLastWhile_
Link copied to clipboard
inline fun CharBuffer.dropLastWhile_(predicate: (Char) -> Boolean): List<Char>
Content copied to clipboard
dropWhile
Link copied to clipboard
dropWhile_
Link copied to clipboard
inline fun CharBuffer.dropWhile_(predicate: (Char) -> Boolean): List<Char>
Content copied to clipboard
elementAt
Link copied to clipboard
Returns an element at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this buffer.
Returns an element at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this buffer.
Returns an element at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this buffer.
Returns an element at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this buffer.
Returns an element at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this buffer.
Returns an element at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this buffer.
Returns an element at the given index or throws an IndexOutOfBoundsException if the index is out of bounds of this buffer.
elementAtOrElse
Link copied to clipboard
inline fun ByteBuffer.elementAtOrElse(index: Int, defaultValue: (Int) -> Byte): Byte
Content copied to clipboard
inline fun CharBuffer.elementAtOrElse(index: Int, defaultValue: (Int) -> Char): Char
Content copied to clipboard
inline fun DoubleBuffer.elementAtOrElse(index: Int, defaultValue: (Int) -> Double): Double
Content copied to clipboard
inline fun FloatBuffer.elementAtOrElse(index: Int, defaultValue: (Int) -> Float): Float
Content copied to clipboard
inline fun LongBuffer.elementAtOrElse(index: Int, defaultValue: (Int) -> Long): Long
Content copied to clipboard
inline fun ShortBuffer.elementAtOrElse(index: Int, defaultValue: (Int) -> Short): Short
Content copied to clipboard
elementAtOrNull
Link copied to clipboard
fill
Link copied to clipboard
fun ByteBuffer.fill(element: Byte, fromIndex: Int = 0, toIndex: Int = lim)
Content copied to clipboard
fun CharBuffer.fill(element: Char, fromIndex: Int = 0, toIndex: Int = lim)
Content copied to clipboard
fun DoubleBuffer.fill(element: Double, fromIndex: Int = 0, toIndex: Int = lim)
Content copied to clipboard
fun FloatBuffer.fill(element: Float, fromIndex: Int = 0, toIndex: Int = lim)
Content copied to clipboard
fun LongBuffer.fill(element: Long, fromIndex: Int = 0, toIndex: Int = lim)
Content copied to clipboard
fun ShortBuffer.fill(element: Short, fromIndex: Int = 0, toIndex: Int = lim)
Content copied to clipboard
filter
Link copied to clipboard
filterIndexed
Link copied to clipboard
inline fun ByteBuffer.filterIndexed(predicate: (index: Int, Byte) -> Boolean): List<Byte>
Content copied to clipboard
inline fun CharBuffer.filterIndexed(predicate: (index: Int, Char) -> Boolean): List<Char>
Content copied to clipboard
inline fun DoubleBuffer.filterIndexed(predicate: (index: Int, Double) -> Boolean): List<Double>
Content copied to clipboard
inline fun FloatBuffer.filterIndexed(predicate: (index: Int, Float) -> Boolean): List<Float>
Content copied to clipboard
inline fun LongBuffer.filterIndexed(predicate: (index: Int, Long) -> Boolean): List<Long>
Content copied to clipboard
inline fun ShortBuffer.filterIndexed(predicate: (index: Int, Short) -> Boolean): List<Short>
Content copied to clipboard
filterIndexedTo
Link copied to clipboard
inline fun <C : MutableCollection<in Byte>> ByteBuffer.filterIndexedTo(destination: C, predicate: (index: Int, Byte) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Char>> CharBuffer.filterIndexedTo(destination: C, predicate: (index: Int, Char) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Double>> DoubleBuffer.filterIndexedTo(destination: C, predicate: (index: Int, Double) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Float>> FloatBuffer.filterIndexedTo(destination: C, predicate: (index: Int, Float) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Int>> IntBuffer.filterIndexedTo(destination: C, predicate: (index: Int, Int) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Long>> LongBuffer.filterIndexedTo(destination: C, predicate: (index: Int, Long) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Short>> ShortBuffer.filterIndexedTo(destination: C, predicate: (index: Int, Short) -> Boolean): C
Content copied to clipboard
filterNot
Link copied to clipboard
filterNotTo
Link copied to clipboard
inline fun <C : MutableCollection<in Byte>> ByteBuffer.filterNotTo(destination: C, predicate: (Byte) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Char>> CharBuffer.filterNotTo(destination: C, predicate: (Char) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Double>> DoubleBuffer.filterNotTo(destination: C, predicate: (Double) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Float>> FloatBuffer.filterNotTo(destination: C, predicate: (Float) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Int>> IntBuffer.filterNotTo(destination: C, predicate: (Int) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Long>> LongBuffer.filterNotTo(destination: C, predicate: (Long) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Short>> ShortBuffer.filterNotTo(destination: C, predicate: (Short) -> Boolean): C
Content copied to clipboard
filterNotZero
Link copied to clipboard
filterNotZeroTo
Link copied to clipboard
fun <C : MutableCollection<Byte>> ByteBuffer.filterNotZeroTo(destination: C): C
Content copied to clipboard
fun <C : MutableCollection<Char>> CharBuffer.filterNotZeroTo(destination: C): C
Content copied to clipboard
fun <C : MutableCollection<Double>> DoubleBuffer.filterNotZeroTo(destination: C): C
Content copied to clipboard
fun <C : MutableCollection<Float>> FloatBuffer.filterNotZeroTo(destination: C): C
Content copied to clipboard
fun <C : MutableCollection<Int>> IntBuffer.filterNotZeroTo(destination: C): C
Content copied to clipboard
fun <C : MutableCollection<Long>> LongBuffer.filterNotZeroTo(destination: C): C
Content copied to clipboard
fun <C : MutableCollection<Short>> ShortBuffer.filterNotZeroTo(destination: C): C
Content copied to clipboard
filterTo
Link copied to clipboard
inline fun <C : MutableCollection<in Byte>> ByteBuffer.filterTo(destination: C, predicate: (Byte) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Char>> CharBuffer.filterTo(destination: C, predicate: (Char) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Double>> DoubleBuffer.filterTo(destination: C, predicate: (Double) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Float>> FloatBuffer.filterTo(destination: C, predicate: (Float) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Long>> LongBuffer.filterTo(destination: C, predicate: (Long) -> Boolean): C
Content copied to clipboard
inline fun <C : MutableCollection<in Short>> ShortBuffer.filterTo(destination: C, predicate: (Short) -> Boolean): C
Content copied to clipboard
find
Link copied to clipboard
first
Link copied to clipboard
firstOrNull
Link copied to clipboard
inline fun DoubleBuffer.firstOrNull(predicate: (Double) -> Boolean): Double?
Content copied to clipboard
inline fun FloatBuffer.firstOrNull(predicate: (Float) -> Boolean): Float?
Content copied to clipboard
inline fun ShortBuffer.firstOrNull(predicate: (Short) -> Boolean): Short?
Content copied to clipboard
flatMap
Link copied to clipboard
flatMapIndexed
Link copied to clipboard
inline fun <R> ByteBuffer.flatMapIndexed(transform: (index: Int, Byte) -> Iterable<R>): List<R>
Content copied to clipboard
inline fun <R> CharBuffer.flatMapIndexed(transform: (index: Int, Char) -> Iterable<R>): List<R>
Content copied to clipboard
inline fun <R> DoubleBuffer.flatMapIndexed(transform: (index: Int, Double) -> Iterable<R>): List<R>
Content copied to clipboard
inline fun <R> FloatBuffer.flatMapIndexed(transform: (index: Int, Float) -> Iterable<R>): List<R>
Content copied to clipboard
inline fun <R> LongBuffer.flatMapIndexed(transform: (index: Int, Long) -> Iterable<R>): List<R>
Content copied to clipboard
inline fun <R> ShortBuffer.flatMapIndexed(transform: (index: Int, Short) -> Iterable<R>): List<R>
Content copied to clipboard
flatMapIndexedTo
Link copied to clipboard
inline fun <R, C : MutableCollection<in R>> ByteBuffer.flatMapIndexedTo(destination: C, transform: (index: Int, Byte) -> Iterable<R>): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> CharBuffer.flatMapIndexedTo(destination: C, transform: (index: Int, Char) -> Iterable<R>): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> DoubleBuffer.flatMapIndexedTo(destination: C, transform: (index: Int, Double) -> Iterable<R>): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> FloatBuffer.flatMapIndexedTo(destination: C, transform: (index: Int, Float) -> Iterable<R>): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> LongBuffer.flatMapIndexedTo(destination: C, transform: (index: Int, Long) -> Iterable<R>): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> ShortBuffer.flatMapIndexedTo(destination: C, transform: (index: Int, Short) -> Iterable<R>): C
Content copied to clipboard
flatMapTo
Link copied to clipboard
fold
Link copied to clipboard
foldIndexed
Link copied to clipboard
inline fun <R> ByteBuffer.foldIndexed(initial: R, operation: (index: Int, R, Byte) -> R): R
Content copied to clipboard
inline fun <R> CharBuffer.foldIndexed(initial: R, operation: (index: Int, R, Char) -> R): R
Content copied to clipboard
inline fun <R> DoubleBuffer.foldIndexed(initial: R, operation: (index: Int, R, Double) -> R): R
Content copied to clipboard
inline fun <R> FloatBuffer.foldIndexed(initial: R, operation: (index: Int, R, Float) -> R): R
Content copied to clipboard
inline fun <R> LongBuffer.foldIndexed(initial: R, operation: (index: Int, R, Long) -> R): R
Content copied to clipboard
inline fun <R> ShortBuffer.foldIndexed(initial: R, operation: (index: Int, R, Short) -> R): R
Content copied to clipboard
foldRight
Link copied to clipboard
foldRightIndexed
Link copied to clipboard
inline fun <R> ByteBuffer.foldRightIndexed(initial: R, operation: (index: Int, Byte, R) -> R): R
Content copied to clipboard
inline fun <R> CharBuffer.foldRightIndexed(initial: R, operation: (index: Int, Char, R) -> R): R
Content copied to clipboard
inline fun <R> DoubleBuffer.foldRightIndexed(initial: R, operation: (index: Int, Double, R) -> R): R
Content copied to clipboard
inline fun <R> FloatBuffer.foldRightIndexed(initial: R, operation: (index: Int, Float, R) -> R): R
Content copied to clipboard
inline fun <R> LongBuffer.foldRightIndexed(initial: R, operation: (index: Int, Long, R) -> R): R
Content copied to clipboard
inline fun <R> ShortBuffer.foldRightIndexed(initial: R, operation: (index: Int, Short, R) -> R): R
Content copied to clipboard
forEach
Link copied to clipboard
forEachIndexed
Link copied to clipboard
inline fun DoubleBuffer.forEachIndexed(action: (index: Int, Double) -> Unit)
Content copied to clipboard
inline fun FloatBuffer.forEachIndexed(action: (index: Int, Float) -> Unit)
Content copied to clipboard
inline fun ShortBuffer.forEachIndexed(action: (index: Int, Short) -> Unit)
Content copied to clipboard
getOrElse
Link copied to clipboard
getOrNull
Link copied to clipboard
groupBy
Link copied to clipboard
groupByTo
Link copied to clipboard
inline fun <K, M : MutableMap<in K, MutableList<Byte>>> ByteBuffer.groupByTo(destination: M, keySelector: (Byte) -> K): M
Content copied to clipboard
inline fun <K, M : MutableMap<in K, MutableList<Char>>> CharBuffer.groupByTo(destination: M, keySelector: (Char) -> K): M
Content copied to clipboard
inline fun <K, M : MutableMap<in K, MutableList<Double>>> DoubleBuffer.groupByTo(destination: M, keySelector: (Double) -> K): M
Content copied to clipboard
inline fun <K, M : MutableMap<in K, MutableList<Float>>> FloatBuffer.groupByTo(destination: M, keySelector: (Float) -> K): M
Content copied to clipboard
inline fun <K, M : MutableMap<in K, MutableList<Long>>> LongBuffer.groupByTo(destination: M, keySelector: (Long) -> K): M
Content copied to clipboard
inline fun <K, M : MutableMap<in K, MutableList<Short>>> ShortBuffer.groupByTo(destination: M, keySelector: (Short) -> K): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, MutableList<V>>> ByteBuffer.groupByTo(destination: M, keySelector: (Byte) -> K, valueTransform: (Byte) -> V): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, MutableList<V>>> CharBuffer.groupByTo(destination: M, keySelector: (Char) -> K, valueTransform: (Char) -> V): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, MutableList<V>>> DoubleBuffer.groupByTo(destination: M, keySelector: (Double) -> K, valueTransform: (Double) -> V): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, MutableList<V>>> FloatBuffer.groupByTo(destination: M, keySelector: (Float) -> K, valueTransform: (Float) -> V): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, MutableList<V>>> LongBuffer.groupByTo(destination: M, keySelector: (Long) -> K, valueTransform: (Long) -> V): M
Content copied to clipboard
inline fun <K, V, M : MutableMap<in K, MutableList<V>>> ShortBuffer.groupByTo(destination: M, keySelector: (Short) -> K, valueTransform: (Short) -> V): M
Content copied to clipboard
indexOf
Link copied to clipboard
indexOfFirst
Link copied to clipboard
inline fun DoubleBuffer.indexOfFirst(predicate: (Double) -> Boolean): Int
Content copied to clipboard
indexOfLast
Link copied to clipboard
intersect
Link copied to clipboard
isEmpty
Link copied to clipboard
isNotEmpty
Link copied to clipboard
iterator
Link copied to clipboard
joinTo
Link copied to clipboard
fun <A : Appendable> ByteBuffer.joinTo(buffer: A, separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (Byte) -> CharSequence? = null): A
Content copied to clipboard
fun <A : Appendable> CharBuffer.joinTo(buffer: A, separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (Char) -> CharSequence? = null): A
Content copied to clipboard
fun <A : Appendable> DoubleBuffer.joinTo(buffer: A, separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (Double) -> CharSequence? = null): A
Content copied to clipboard
fun <A : Appendable> FloatBuffer.joinTo(buffer: A, separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (Float) -> CharSequence? = null): A
Content copied to clipboard
fun <A : Appendable> IntBuffer.joinTo(buffer: A, separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (Int) -> CharSequence? = null): A
Content copied to clipboard
fun <A : Appendable> LongBuffer.joinTo(buffer: A, separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (Long) -> CharSequence? = null): A
Content copied to clipboard
fun <A : Appendable> ShortBuffer.joinTo(buffer: A, separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (Short) -> CharSequence? = null): A
Content copied to clipboard
joinToString
Link copied to clipboard
fun ByteBuffer.joinToString(separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (Byte) -> CharSequence? = null): String
Content copied to clipboard
fun CharBuffer.joinToString(separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (Char) -> CharSequence? = null): String
Content copied to clipboard
fun DoubleBuffer.joinToString(separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (Double) -> CharSequence? = null): String
Content copied to clipboard
fun FloatBuffer.joinToString(separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (Float) -> CharSequence? = null): String
Content copied to clipboard
fun IntBuffer.joinToString(separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (Int) -> CharSequence? = null): String
Content copied to clipboard
fun LongBuffer.joinToString(separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (Long) -> CharSequence? = null): String
Content copied to clipboard
fun ShortBuffer.joinToString(separator: CharSequence = ", ", prefix: CharSequence = "", postfix: CharSequence = "", limit: Int = -1, truncated: CharSequence = "...", transform: (Short) -> CharSequence? = null): String
Content copied to clipboard
last
Link copied to clipboard
lastIndexOf
Link copied to clipboard
lastOrNull
Link copied to clipboard
inline fun DoubleBuffer.lastOrNull(predicate: (Double) -> Boolean): Double?
Content copied to clipboard
map
Link copied to clipboard
mapCapacity
Link copied to clipboard
Calculate the initial capacity of a map, based on Guava's com.google.common.collect.Maps.capacity approach.
mapIndexed
Link copied to clipboard
inline fun <R> ByteBuffer.mapIndexed(transform: (index: Int, Byte) -> R): List<R>
Content copied to clipboard
inline fun <R> CharBuffer.mapIndexed(transform: (index: Int, Char) -> R): List<R>
Content copied to clipboard
inline fun <R> DoubleBuffer.mapIndexed(transform: (index: Int, Double) -> R): List<R>
Content copied to clipboard
inline fun <R> FloatBuffer.mapIndexed(transform: (index: Int, Float) -> R): List<R>
Content copied to clipboard
inline fun <R> LongBuffer.mapIndexed(transform: (index: Int, Long) -> R): List<R>
Content copied to clipboard
inline fun <R> ShortBuffer.mapIndexed(transform: (index: Int, Short) -> R): List<R>
Content copied to clipboard
mapIndexedTo
Link copied to clipboard
inline fun <R, C : MutableCollection<in R>> ByteBuffer.mapIndexedTo(destination: C, transform: (index: Int, Byte) -> R): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> CharBuffer.mapIndexedTo(destination: C, transform: (index: Int, Char) -> R): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> DoubleBuffer.mapIndexedTo(destination: C, transform: (index: Int, Double) -> R): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> FloatBuffer.mapIndexedTo(destination: C, transform: (index: Int, Float) -> R): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> LongBuffer.mapIndexedTo(destination: C, transform: (index: Int, Long) -> R): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> ShortBuffer.mapIndexedTo(destination: C, transform: (index: Int, Short) -> R): C
Content copied to clipboard
mapTo
Link copied to clipboard
inline fun <R, C : MutableCollection<in R>> ByteBuffer.mapTo(destination: C, transform: (Byte) -> R): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> CharBuffer.mapTo(destination: C, transform: (Char) -> R): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> DoubleBuffer.mapTo(destination: C, transform: (Double) -> R): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> FloatBuffer.mapTo(destination: C, transform: (Float) -> R): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> LongBuffer.mapTo(destination: C, transform: (Long) -> R): C
Content copied to clipboard
inline fun <R, C : MutableCollection<in R>> ShortBuffer.mapTo(destination: C, transform: (Short) -> R): C
Content copied to clipboard
maxByOrNull
Link copied to clipboard
inline fun <R : Comparable<R>> ByteBuffer.maxByOrNull(selector: (Byte) -> R): Byte?
Content copied to clipboard
inline fun <R : Comparable<R>> CharBuffer.maxByOrNull(selector: (Char) -> R): Char?
Content copied to clipboard
inline fun <R : Comparable<R>> DoubleBuffer.maxByOrNull(selector: (Double) -> R): Double?
Content copied to clipboard
inline fun <R : Comparable<R>> FloatBuffer.maxByOrNull(selector: (Float) -> R): Float?
Content copied to clipboard
inline fun <R : Comparable<R>> IntBuffer.maxByOrNull(selector: (Int) -> R): Int?
Content copied to clipboard
inline fun <R : Comparable<R>> LongBuffer.maxByOrNull(selector: (Long) -> R): Long?
Content copied to clipboard
inline fun <R : Comparable<R>> ShortBuffer.maxByOrNull(selector: (Short) -> R): Short?
Content copied to clipboard
maxOf
Link copied to clipboard
inline fun <R : Comparable<R>> ByteBuffer.maxOf(selector: (Byte) -> R): R
Content copied to clipboard
inline fun <R : Comparable<R>> CharBuffer.maxOf(selector: (Char) -> R): R
Content copied to clipboard
inline fun <R : Comparable<R>> DoubleBuffer.maxOf(selector: (Double) -> R): R
Content copied to clipboard
inline fun <R : Comparable<R>> FloatBuffer.maxOf(selector: (Float) -> R): R
Content copied to clipboard
inline fun <R : Comparable<R>> LongBuffer.maxOf(selector: (Long) -> R): R
Content copied to clipboard
inline fun <R : Comparable<R>> ShortBuffer.maxOf(selector: (Short) -> R): R
Content copied to clipboard
maxOfOrNull
Link copied to clipboard
inline fun <R : Comparable<R>> ByteBuffer.maxOfOrNull(selector: (Byte) -> R): R?
Content copied to clipboard
inline fun <R : Comparable<R>> CharBuffer.maxOfOrNull(selector: (Char) -> R): R?
Content copied to clipboard
inline fun <R : Comparable<R>> DoubleBuffer.maxOfOrNull(selector: (Double) -> R): R?
Content copied to clipboard
inline fun DoubleBuffer.maxOfOrNull(selector: (Double) -> Double): Double?
Content copied to clipboard
inline fun <R : Comparable<R>> FloatBuffer.maxOfOrNull(selector: (Float) -> R): R?
Content copied to clipboard
inline fun <R : Comparable<R>> IntBuffer.maxOfOrNull(selector: (Int) -> R): R?
Content copied to clipboard
inline fun <R : Comparable<R>> LongBuffer.maxOfOrNull(selector: (Long) -> R): R?
Content copied to clipboard
inline fun <R : Comparable<R>> ShortBuffer.maxOfOrNull(selector: (Short) -> R): R?
Content copied to clipboard
maxOfWith
Link copied to clipboard
inline fun <R> ByteBuffer.maxOfWith(comparator: Comparator<in R>, selector: (Byte) -> R): R
Content copied to clipboard
inline fun <R> CharBuffer.maxOfWith(comparator: Comparator<in R>, selector: (Char) -> R): R
Content copied to clipboard
inline fun <R> DoubleBuffer.maxOfWith(comparator: Comparator<in R>, selector: (Double) -> R): R
Content copied to clipboard
inline fun <R> FloatBuffer.maxOfWith(comparator: Comparator<in R>, selector: (Float) -> R): R
Content copied to clipboard
inline fun <R> LongBuffer.maxOfWith(comparator: Comparator<in R>, selector: (Long) -> R): R
Content copied to clipboard
inline fun <R> ShortBuffer.maxOfWith(comparator: Comparator<in R>, selector: (Short) -> R): R
Content copied to clipboard
maxOfWithOrNull
Link copied to clipboard
inline fun <R> ByteBuffer.maxOfWithOrNull(comparator: Comparator<in R>, selector: (Byte) -> R): R?
Content copied to clipboard
inline fun <R> CharBuffer.maxOfWithOrNull(comparator: Comparator<in R>, selector: (Char) -> R): R?
Content copied to clipboard
inline fun <R> DoubleBuffer.maxOfWithOrNull(comparator: Comparator<in R>, selector: (Double) -> R): R?
Content copied to clipboard
inline fun <R> FloatBuffer.maxOfWithOrNull(comparator: Comparator<in R>, selector: (Float) -> R): R?
Content copied to clipboard
inline fun <R> IntBuffer.maxOfWithOrNull(comparator: Comparator<in R>, selector: (Int) -> R): R?
Content copied to clipboard
inline fun <R> LongBuffer.maxOfWithOrNull(comparator: Comparator<in R>, selector: (Long) -> R): R?
Content copied to clipboard
inline fun <R> ShortBuffer.maxOfWithOrNull(comparator: Comparator<in R>, selector: (Short) -> R): R?
Content copied to clipboard
maxOrNull
Link copied to clipboard
maxWithOrNull
Link copied to clipboard
fun DoubleBuffer.maxWithOrNull(comparator: Comparator<in Double>): Double?
Content copied to clipboard
minByOrNull
Link copied to clipboard
inline fun <R : Comparable<R>> ByteBuffer.minByOrNull(selector: (Byte) -> R): Byte?
Content copied to clipboard
inline fun <R : Comparable<R>> CharBuffer.minByOrNull(selector: (Char) -> R): Char?
Content copied to clipboard
inline fun <R : Comparable<R>> DoubleBuffer.minByOrNull(selector: (Double) -> R): Double?
Content copied to clipboard
inline fun <R : Comparable<R>> FloatBuffer.minByOrNull(selector: (Float) -> R): Float?
Content copied to clipboard
inline fun <R : Comparable<R>> IntBuffer.minByOrNull(selector: (Int) -> R): Int?
Content copied to clipboard
inline fun <R : Comparable<R>> LongBuffer.minByOrNull(selector: (Long) -> R): Long?
Content copied to clipboard
inline fun <R : Comparable<R>> ShortBuffer.minByOrNull(selector: (Short) -> R): Short?
Content copied to clipboard
minOf
Link copied to clipboard
inline fun <R : Comparable<R>> ByteBuffer.minOf(selector: (Byte) -> R): R
Content copied to clipboard
inline fun <R : Comparable<R>> CharBuffer.minOf(selector: (Char) -> 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>> FloatBuffer.minOf(selector: (Float) -> 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>> ShortBuffer.minOf(selector: (Short) -> R): R
Content copied to clipboard
minOfOrNull
Link copied to clipboard
inline fun <R : Comparable<R>> ByteBuffer.minOfOrNull(selector: (Byte) -> R): R?
Content copied to clipboard
inline fun <R : Comparable<R>> CharBuffer.minOfOrNull(selector: (Char) -> R): R?
Content copied to clipboard
inline fun <R : Comparable<R>> DoubleBuffer.minOfOrNull(selector: (Double) -> R): R?
Content copied to clipboard
inline fun DoubleBuffer.minOfOrNull(selector: (Double) -> Double): Double?
Content copied to clipboard
inline fun <R : Comparable<R>> FloatBuffer.minOfOrNull(selector: (Float) -> R): R?
Content copied to clipboard
inline fun <R : Comparable<R>> IntBuffer.minOfOrNull(selector: (Int) -> R): R?
Content copied to clipboard
inline fun <R : Comparable<R>> LongBuffer.minOfOrNull(selector: (Long) -> R): R?
Content copied to clipboard
inline fun <R : Comparable<R>> ShortBuffer.minOfOrNull(selector: (Short) -> R): R?
Content copied to clipboard
minOfWith
Link copied to clipboard
inline fun <R> ByteBuffer.minOfWith(comparator: Comparator<in R>, selector: (Byte) -> R): R
Content copied to clipboard
inline fun <R> CharBuffer.minOfWith(comparator: Comparator<in R>, selector: (Char) -> R): R
Content copied to clipboard
inline fun <R> DoubleBuffer.minOfWith(comparator: Comparator<in R>, selector: (Double) -> R): R
Content copied to clipboard
inline fun <R> FloatBuffer.minOfWith(comparator: Comparator<in R>, selector: (Float) -> R): R
Content copied to clipboard
inline fun <R> LongBuffer.minOfWith(comparator: Comparator<in R>, selector: (Long) -> R): R
Content copied to clipboard
inline fun <R> ShortBuffer.minOfWith(comparator: Comparator<in R>, selector: (Short) -> R): R
Content copied to clipboard
minOfWithOrNull
Link copied to clipboard
inline fun <R> ByteBuffer.minOfWithOrNull(comparator: Comparator<in R>, selector: (Byte) -> R): R?
Content copied to clipboard
inline fun <R> CharBuffer.minOfWithOrNull(comparator: Comparator<in R>, selector: (Char) -> R): R?
Content copied to clipboard
inline fun <R> DoubleBuffer.minOfWithOrNull(comparator: Comparator<in R>, selector: (Double) -> R): R?
Content copied to clipboard
inline fun <R> FloatBuffer.minOfWithOrNull(comparator: Comparator<in R>, selector: (Float) -> R): R?
Content copied to clipboard
inline fun <R> IntBuffer.minOfWithOrNull(comparator: Comparator<in R>, selector: (Int) -> R): R?
Content copied to clipboard
inline fun <R> LongBuffer.minOfWithOrNull(comparator: Comparator<in R>, selector: (Long) -> R): R?
Content copied to clipboard
inline fun <R> ShortBuffer.minOfWithOrNull(comparator: Comparator<in R>, selector: (Short) -> R): R?
Content copied to clipboard
minOrNull
Link copied to clipboard
minWithOrNull
Link copied to clipboard
fun DoubleBuffer.minWithOrNull(comparator: Comparator<in Double>): Double?
Content copied to clipboard
none
Link copied to clipboard
onEach
Link copied to clipboard
onEachIndexed
Link copied to clipboard
inline fun ByteBuffer.onEachIndexed(action: (index: Int, Byte) -> Unit): ByteBuffer
Content copied to clipboard
inline fun CharBuffer.onEachIndexed(action: (index: Int, Char) -> Unit): CharBuffer
Content copied to clipboard
inline fun DoubleBuffer.onEachIndexed(action: (index: Int, Double) -> Unit): DoubleBuffer
Content copied to clipboard
inline fun FloatBuffer.onEachIndexed(action: (index: Int, Float) -> Unit): FloatBuffer
Content copied to clipboard
inline fun LongBuffer.onEachIndexed(action: (index: Int, Long) -> Unit): LongBuffer
Content copied to clipboard
inline fun ShortBuffer.onEachIndexed(action: (index: Int, Short) -> Unit): ShortBuffer
Content copied to clipboard
partition
Link copied to clipboard
random
Link copied to clipboard
randomOrNull
Link copied to clipboard
reduce
Link copied to clipboard
reduceIndexed
Link copied to clipboard
inline fun ByteBuffer.reduceIndexed(operation: (index: Int, acc: Byte, Byte) -> Byte): Byte
Content copied to clipboard
inline fun CharBuffer.reduceIndexed(operation: (index: Int, acc: Char, Char) -> Char): Char
Content copied to clipboard
inline fun DoubleBuffer.reduceIndexed(operation: (index: Int, acc: Double, Double) -> Double): Double
Content copied to clipboard
inline fun FloatBuffer.reduceIndexed(operation: (index: Int, acc: Float, Float) -> Float): Float
Content copied to clipboard
inline fun LongBuffer.reduceIndexed(operation: (index: Int, acc: Long, Long) -> Long): Long
Content copied to clipboard
inline fun ShortBuffer.reduceIndexed(operation: (index: Int, acc: Short, Short) -> Short): Short
Content copied to clipboard
reduceIndexedOrNull
Link copied to clipboard
inline fun ByteBuffer.reduceIndexedOrNull(operation: (index: Int, acc: Byte, Byte) -> Byte): Byte?
Content copied to clipboard
inline fun CharBuffer.reduceIndexedOrNull(operation: (index: Int, acc: Char, Char) -> Char): Char?
Content copied to clipboard
inline fun DoubleBuffer.reduceIndexedOrNull(operation: (index: Int, acc: Double, Double) -> Double): Double?
Content copied to clipboard
inline fun FloatBuffer.reduceIndexedOrNull(operation: (index: Int, acc: Float, Float) -> Float): Float?
Content copied to clipboard
inline fun LongBuffer.reduceIndexedOrNull(operation: (index: Int, acc: Long, Long) -> Long): Long?
Content copied to clipboard
inline fun ShortBuffer.reduceIndexedOrNull(operation: (index: Int, acc: Short, Short) -> Short): Short?
Content copied to clipboard
reduceOrNull
Link copied to clipboard
inline fun ByteBuffer.reduceOrNull(operation: (acc: Byte, Byte) -> Byte): Byte?
Content copied to clipboard
inline fun CharBuffer.reduceOrNull(operation: (acc: Char, Char) -> Char): Char?
Content copied to clipboard
inline fun DoubleBuffer.reduceOrNull(operation: (acc: Double, Double) -> Double): Double?
Content copied to clipboard
inline fun FloatBuffer.reduceOrNull(operation: (acc: Float, Float) -> Float): Float?
Content copied to clipboard
inline fun LongBuffer.reduceOrNull(operation: (acc: Long, Long) -> Long): Long?
Content copied to clipboard
inline fun ShortBuffer.reduceOrNull(operation: (acc: Short, Short) -> Short): Short?
Content copied to clipboard
reduceRight
Link copied to clipboard
inline fun ByteBuffer.reduceRight(operation: (Byte, acc: Byte) -> Byte): Byte
Content copied to clipboard
inline fun CharBuffer.reduceRight(operation: (Char, acc: Char) -> Char): Char
Content copied to clipboard
inline fun DoubleBuffer.reduceRight(operation: (Double, acc: Double) -> Double): Double
Content copied to clipboard
inline fun FloatBuffer.reduceRight(operation: (Float, acc: Float) -> Float): Float
Content copied to clipboard
inline fun LongBuffer.reduceRight(operation: (Long, acc: Long) -> Long): Long
Content copied to clipboard
inline fun ShortBuffer.reduceRight(operation: (Short, acc: Short) -> Short): Short
Content copied to clipboard
reduceRightIndexed
Link copied to clipboard
inline fun ByteBuffer.reduceRightIndexed(operation: (index: Int, Byte, acc: Byte) -> Byte): Byte
Content copied to clipboard
inline fun CharBuffer.reduceRightIndexed(operation: (index: Int, Char, acc: Char) -> Char): Char
Content copied to clipboard
inline fun DoubleBuffer.reduceRightIndexed(operation: (index: Int, Double, acc: Double) -> Double): Double
Content copied to clipboard
inline fun FloatBuffer.reduceRightIndexed(operation: (index: Int, Float, acc: Float) -> Float): Float
Content copied to clipboard
inline fun LongBuffer.reduceRightIndexed(operation: (index: Int, Long, acc: Long) -> Long): Long
Content copied to clipboard
inline fun ShortBuffer.reduceRightIndexed(operation: (index: Int, Short, acc: Short) -> Short): Short
Content copied to clipboard
reduceRightIndexedOrNull
Link copied to clipboard
inline fun ByteBuffer.reduceRightIndexedOrNull(operation: (index: Int, Byte, acc: Byte) -> Byte): Byte?
Content copied to clipboard
inline fun CharBuffer.reduceRightIndexedOrNull(operation: (index: Int, Char, acc: Char) -> Char): Char?
Content copied to clipboard
inline fun DoubleBuffer.reduceRightIndexedOrNull(operation: (index: Int, Double, acc: Double) -> Double): Double?
Content copied to clipboard
inline fun FloatBuffer.reduceRightIndexedOrNull(operation: (index: Int, Float, acc: Float) -> Float): Float?
Content copied to clipboard
inline fun LongBuffer.reduceRightIndexedOrNull(operation: (index: Int, Long, acc: Long) -> Long): Long?
Content copied to clipboard
inline fun ShortBuffer.reduceRightIndexedOrNull(operation: (index: Int, Short, acc: Short) -> Short): Short?
Content copied to clipboard
reduceRightOrNull
Link copied to clipboard
inline fun ByteBuffer.reduceRightOrNull(operation: (Byte, acc: Byte) -> Byte): Byte?
Content copied to clipboard
inline fun CharBuffer.reduceRightOrNull(operation: (Char, acc: Char) -> Char): Char?
Content copied to clipboard
inline fun DoubleBuffer.reduceRightOrNull(operation: (Double, acc: Double) -> Double): Double?
Content copied to clipboard
inline fun FloatBuffer.reduceRightOrNull(operation: (Float, acc: Float) -> Float): Float?
Content copied to clipboard
inline fun LongBuffer.reduceRightOrNull(operation: (Long, acc: Long) -> Long): Long?
Content copied to clipboard
inline fun ShortBuffer.reduceRightOrNull(operation: (Short, acc: Short) -> Short): Short?
Content copied to clipboard
reverse
Link copied to clipboard
reversed
Link copied to clipboard
reversedArray
Link copied to clipboard
runningFold
Link copied to clipboard
inline fun <R> ByteBuffer.runningFold(initial: R, operation: (R, Byte) -> R): List<R>
Content copied to clipboard
inline fun <R> CharBuffer.runningFold(initial: R, operation: (R, Char) -> R): List<R>
Content copied to clipboard
inline fun <R> DoubleBuffer.runningFold(initial: R, operation: (R, Double) -> R): List<R>
Content copied to clipboard
inline fun <R> FloatBuffer.runningFold(initial: R, operation: (R, Float) -> R): List<R>
Content copied to clipboard
inline fun <R> LongBuffer.runningFold(initial: R, operation: (R, Long) -> R): List<R>
Content copied to clipboard
inline fun <R> ShortBuffer.runningFold(initial: R, operation: (R, Short) -> R): List<R>
Content copied to clipboard
runningFoldIndexed
Link copied to clipboard
inline fun <R> ByteBuffer.runningFoldIndexed(initial: R, operation: (index: Int, R, Byte) -> R): List<R>
Content copied to clipboard
inline fun <R> CharBuffer.runningFoldIndexed(initial: R, operation: (index: Int, R, Char) -> R): List<R>
Content copied to clipboard
inline fun <R> DoubleBuffer.runningFoldIndexed(initial: R, operation: (index: Int, R, Double) -> R): List<R>
Content copied to clipboard
inline fun <R> FloatBuffer.runningFoldIndexed(initial: R, operation: (index: Int, R, Float) -> R): List<R>
Content copied to clipboard
inline fun <R> LongBuffer.runningFoldIndexed(initial: R, operation: (index: Int, R, Long) -> R): List<R>
Content copied to clipboard
inline fun <R> ShortBuffer.runningFoldIndexed(initial: R, operation: (index: Int, R, Short) -> R): List<R>
Content copied to clipboard
runningReduce
Link copied to clipboard
inline fun ByteBuffer.runningReduce(operation: (acc: Byte, Byte) -> Byte): List<Byte>
Content copied to clipboard
inline fun CharBuffer.runningReduce(operation: (acc: Char, Char) -> Char): List<Char>
Content copied to clipboard
inline fun DoubleBuffer.runningReduce(operation: (acc: Double, Double) -> Double): List<Double>
Content copied to clipboard
inline fun FloatBuffer.runningReduce(operation: (acc: Float, Float) -> Float): List<Float>
Content copied to clipboard
inline fun LongBuffer.runningReduce(operation: (acc: Long, Long) -> Long): List<Long>
Content copied to clipboard
inline fun ShortBuffer.runningReduce(operation: (acc: Short, Short) -> Short): List<Short>
Content copied to clipboard
runningReduceIndexed
Link copied to clipboard
inline fun ByteBuffer.runningReduceIndexed(operation: (index: Int, acc: Byte, Byte) -> Byte): List<Byte>
Content copied to clipboard
inline fun CharBuffer.runningReduceIndexed(operation: (index: Int, acc: Char, Char) -> Char): List<Char>
Content copied to clipboard
inline fun DoubleBuffer.runningReduceIndexed(operation: (index: Int, acc: Double, Double) -> Double): List<Double>
Content copied to clipboard
inline fun FloatBuffer.runningReduceIndexed(operation: (index: Int, acc: Float, Float) -> Float): List<Float>
Content copied to clipboard
inline fun LongBuffer.runningReduceIndexed(operation: (index: Int, acc: Long, Long) -> Long): List<Long>
Content copied to clipboard
inline fun ShortBuffer.runningReduceIndexed(operation: (index: Int, acc: Short, Short) -> Short): List<Short>
Content copied to clipboard
scan
Link copied to clipboard
scanIndexed
Link copied to clipboard
inline fun <R> ByteBuffer.scanIndexed(initial: R, operation: (index: Int, R, Byte) -> R): List<R>
Content copied to clipboard
inline fun <R> CharBuffer.scanIndexed(initial: R, operation: (index: Int, R, Char) -> R): List<R>
Content copied to clipboard
inline fun <R> DoubleBuffer.scanIndexed(initial: R, operation: (index: Int, R, Double) -> R): List<R>
Content copied to clipboard
inline fun <R> FloatBuffer.scanIndexed(initial: R, operation: (index: Int, R, Float) -> R): List<R>
Content copied to clipboard
inline fun <R> LongBuffer.scanIndexed(initial: R, operation: (index: Int, R, Long) -> R): List<R>
Content copied to clipboard
inline fun <R> ShortBuffer.scanIndexed(initial: R, operation: (index: Int, R, Short) -> R): List<R>
Content copied to clipboard
shuffle
Link copied to clipboard
single
Link copied to clipboard
singleOrNull
Link copied to clipboard
inline fun DoubleBuffer.singleOrNull(predicate: (Double) -> Boolean): Double?
Content copied to clipboard
inline fun FloatBuffer.singleOrNull(predicate: (Float) -> Boolean): Float?
Content copied to clipboard
inline fun ShortBuffer.singleOrNull(predicate: (Short) -> Boolean): Short?
Content copied to clipboard
slice
Link copied to clipboard
sliceArray
Link copied to clipboard
sort
Link copied to clipboard
sortDescending
Link copied to clipboard
sorted
Link copied to clipboard
sortedArray
Link copied to clipboard
sortedArrayDescending
Link copied to clipboard
sortedBy
Link copied to clipboard
inline fun <R : Comparable<R>> ByteBuffer.sortedBy(crossinline selector: (Byte) -> R?): List<Byte>
Content copied to clipboard
inline fun <R : Comparable<R>> CharBuffer.sortedBy(crossinline selector: (Char) -> R?): List<Char>
Content copied to clipboard
inline fun <R : Comparable<R>> DoubleBuffer.sortedBy(crossinline selector: (Double) -> R?): List<Double>
Content copied to clipboard
inline fun <R : Comparable<R>> FloatBuffer.sortedBy(crossinline selector: (Float) -> R?): List<Float>
Content copied to clipboard
inline fun <R : Comparable<R>> LongBuffer.sortedBy(crossinline selector: (Long) -> R?): List<Long>
Content copied to clipboard
inline fun <R : Comparable<R>> ShortBuffer.sortedBy(crossinline selector: (Short) -> R?): List<Short>
Content copied to clipboard
sortedByDescending
Link copied to clipboard
inline fun <R : Comparable<R>> ByteBuffer.sortedByDescending(crossinline selector: (Byte) -> R?): List<Byte>
Content copied to clipboard
inline fun <R : Comparable<R>> CharBuffer.sortedByDescending(crossinline selector: (Char) -> R?): List<Char>
Content copied to clipboard
inline fun <R : Comparable<R>> DoubleBuffer.sortedByDescending(crossinline selector: (Double) -> R?): List<Double>
Content copied to clipboard
inline fun <R : Comparable<R>> FloatBuffer.sortedByDescending(crossinline selector: (Float) -> R?): List<Float>
Content copied to clipboard
inline fun <R : Comparable<R>> IntBuffer.sortedByDescending(crossinline selector: (Int) -> R?): List<Int>
Content copied to clipboard
inline fun <R : Comparable<R>> LongBuffer.sortedByDescending(crossinline selector: (Long) -> R?): List<Long>
Content copied to clipboard
inline fun <R : Comparable<R>> ShortBuffer.sortedByDescending(crossinline selector: (Short) -> R?): List<Short>
Content copied to clipboard
sortedDescending
Link copied to clipboard
sortedWith
Link copied to clipboard
fun DoubleBuffer.sortedWith(comparator: Comparator<in Double>): List<Double>
Content copied to clipboard
fun FloatBuffer.sortedWith(comparator: Comparator<in Float>): List<Float>
Content copied to clipboard
fun ShortBuffer.sortedWith(comparator: Comparator<in Short>): List<Short>
Content copied to clipboard
subtract
Link copied to clipboard
sum
Link copied to clipboard
sumBy
Link copied to clipboard
sumByDouble
Link copied to clipboard
inline fun DoubleBuffer.sumByDouble(selector: (Double) -> Double): Double
Content copied to clipboard
sumOf
Link copied to clipboard
take
Link copied to clipboard
takeLast
Link copied to clipboard
takeLastWhile
Link copied to clipboard
inline fun ByteBuffer.takeLastWhile(predicate: (Byte) -> Boolean): List<Byte>
Content copied to clipboard
inline fun CharBuffer.takeLastWhile(predicate: (Char) -> Boolean): List<Char>
Content copied to clipboard
inline fun DoubleBuffer.takeLastWhile(predicate: (Double) -> Boolean): List<Double>
Content copied to clipboard
inline fun FloatBuffer.takeLastWhile(predicate: (Float) -> Boolean): List<Float>
Content copied to clipboard
inline fun LongBuffer.takeLastWhile(predicate: (Long) -> Boolean): List<Long>
Content copied to clipboard
inline fun ShortBuffer.takeLastWhile(predicate: (Short) -> Boolean): List<Short>
Content copied to clipboard
takeWhile
Link copied to clipboard
toByteArray
Link copied to clipboard
toByteBuffer
Link copied to clipboard
toCharArray
Link copied to clipboard
toCharBuffer
Link copied to clipboard
toCollection
Link copied to clipboard
fun <C : MutableCollection<in Byte>> ByteBuffer.toCollection(destination: C): C
Content copied to clipboard
fun <C : MutableCollection<in Char>> CharBuffer.toCollection(destination: C): C
Content copied to clipboard
fun <C : MutableCollection<in Double>> DoubleBuffer.toCollection(destination: C): C
Content copied to clipboard
fun <C : MutableCollection<in Float>> FloatBuffer.toCollection(destination: C): C
Content copied to clipboard
fun <C : MutableCollection<in Int>> IntBuffer.toCollection(destination: C): C
Content copied to clipboard
fun <C : MutableCollection<in Long>> LongBuffer.toCollection(destination: C): C
Content copied to clipboard
fun <C : MutableCollection<in Short>> ShortBuffer.toCollection(destination: C): C
Content copied to clipboard
toDoubleArray
Link copied to clipboard
toDoubleBuffer
Link copied to clipboard
toFloatArray
Link copied to clipboard
toFloatBuffer
Link copied to clipboard
toIntArray
Link copied to clipboard
toIntBuffer
Link copied to clipboard
toList
Link copied to clipboard
toLongArray
Link copied to clipboard
toLongBuffer
Link copied to clipboard
toMutableList
Link copied to clipboard
toMutableSet
Link copied to clipboard
toSet
Link copied to clipboard
toShortArray
Link copied to clipboard
toShortBuffer
Link copied to clipboard
toTypedArray
Link copied to clipboard
union
Link copied to clipboard
withIndex
Link copied to clipboard
Returns a lazy Iterable that wraps each element of the original array into an IndexedValue containing the index of that element and the element itself.
Returns a lazy Iterable that wraps each element of the original array into an IndexedValue containing the index of that element and the element itself.
Returns a lazy Iterable that wraps each element of the original array into an IndexedValue containing the index of that element and the element itself.
Returns a lazy Iterable that wraps each element of the original array into an IndexedValue containing the index of that element and the element itself.
Returns a lazy Iterable that wraps each element of the original array into an IndexedValue containing the index of that element and the element itself.
Returns a lazy Iterable that wraps each element of the original array into an IndexedValue containing the index of that element and the element itself.
Returns a lazy Iterable that wraps each element of the original array into an IndexedValue containing the index of that element and the element itself.
zip
Link copied to clipboard
infix fun DoubleBuffer.zip(other: DoubleBuffer): List<Pair<Double, Double>>
Content copied to clipboard
infix fun DoubleBuffer.zip(other: DoubleArray): List<Pair<Double, Double>>
Content copied to clipboard
inline fun <V> ByteBuffer.zip(other: ByteBuffer, transform: (a: Byte, b: Byte) -> V): List<V>
Content copied to clipboard
inline fun <V> CharBuffer.zip(other: CharBuffer, transform: (a: Char, b: Char) -> V): List<V>
Content copied to clipboard
inline fun <V> DoubleBuffer.zip(other: DoubleBuffer, transform: (a: Double, b: Double) -> V): List<V>
Content copied to clipboard
inline fun <V> DoubleBuffer.zip(other: DoubleArray, transform: (a: Double, b: Double) -> V): List<V>
Content copied to clipboard
inline fun <V> FloatBuffer.zip(other: FloatBuffer, transform: (a: Float, b: Float) -> V): List<V>
Content copied to clipboard
inline fun <V> FloatBuffer.zip(other: FloatArray, transform: (a: Float, b: Float) -> V): List<V>
Content copied to clipboard
inline fun <V> LongBuffer.zip(other: LongBuffer, transform: (a: Long, b: Long) -> V): List<V>
Content copied to clipboard
inline fun <V> ShortBuffer.zip(other: ShortBuffer, transform: (a: Short, b: Short) -> V): List<V>
Content copied to clipboard
inline fun <V> ShortBuffer.zip(other: ShortArray, transform: (a: Short, b: Short) -> V): List<V>
Content copied to clipboard
Properties
indices
Link copied to clipboard
indices
Link copied to clipboard
indices
Link copied to clipboard
indices
Link copied to clipboard
indices
Link copied to clipboard
indices
Link copied to clipboard
lastIndex
Link copied to clipboard
lastIndex
Link copied to clipboard
lastIndex
Link copied to clipboard
lastIndex
Link copied to clipboard
lastIndex
Link copied to clipboard
lastIndex
Link copied to clipboard