class FixedBatchSpliterator<T> : FixedBatchSpliteratorBase<T>
(source)
FixedBatchSpliterator(spliterator: Spliterator<T>, batchSize: Int = 64, est: Long = spliterator.estimateSize()) |
fun forEachRemaining(action: Consumer<in T>): Unit |
|
fun tryAdvance(action: Consumer<in T>): Boolean |
open fun characteristics(): Int |
|
open fun estimateSize(): Long |
|
open fun getComparator(): Comparator<in T>? |
|
open fun trySplit(): Spliterator<T>? |
fun <T> batchedSpliterator(toWrap: Spliterator<T>, batchSize: Int): FixedBatchSpliterator<T> |
|
fun <T> withBatchSize(input: Stream<T>, batchSize: Int): Stream<T> |