Package-level declarations
Functions
Link copied to clipboard
inline fun <T, R> Iterable<T>.cumulative(initial: R, crossinline operation: (R, T) -> R): Iterable<R>
inline fun <T, R> Sequence<T>.cumulative(initial: R, crossinline operation: (R, T) -> R): Sequence<R>
inline fun <T, R> Iterator<T>.cumulative(initial: R, crossinline operation: (R, T) -> R): Iterator<R>
Generic cumulative operation on iterator.
Link copied to clipboard
Cumulative sum with custom space
Link copied to clipboard
Return a new array filled with buffer indices. Indices order is defined by sorting associated buffer value. This feature allows sorting buffer values without reordering its content.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Checks that the Buffer is sorted (ascending) and throws IllegalArgumentException if it is not.
Link copied to clipboard
Link copied to clipboard
Create a zero-copy virtual buffer that contains the same elements but in descending order
Link copied to clipboard
Link copied to clipboard