net.minecraft.util.thread

class AsyncHelper$Single<K, U, V>

extends AsyncHelper$Batcher<K, U, V>

net.minecraft.util.thread.ParallelMapTransform$SingleTaskSplitter
net.minecraft.util.thread.ParallelMapTransform$SingleTaskSplitter
net.minecraft.class_10769$class_10772
net.minecraft.util.thread.AsyncHelper$Single

Constructor summary

ModifierConstructor
private (BiFunction<K, U, V> function, int size)

Method summary

Modifier and TypeMethod
protected int
batchSize(int index)
batchSize(int index)
method_67614(int arg0)
getLastIndex(int arg0)
protected CompletableFuture<?>
scheduleBatch(ParallelMapTransform$Container<K, U, V> container, int startIndex, int endIndex, Executor executor)
scheduleBatch(ParallelMapTransform$Container<K, U, V> container, int startIndex, int endIndex, Executor executor)
method_67616(class_10769$class_10771<K, U, V> arg0, int arg1, int arg2, Executor arg3)
newBatch(AsyncHelper$Future<K, U, V> arg0, int arg1, int arg2, Executor arg3)
protected CompletableFuture<Map<K, V>>
scheduleFinalOperation(CompletableFuture<?> allTasksDone, ParallelMapTransform$Container<K, U, V> container)
scheduleFinalOperation(CompletableFuture<?> allTasksDone, ParallelMapTransform$Container<K, U, V> container)
method_67619(CompletableFuture<?> arg0, class_10769$class_10771<K, U, V> arg1)
addLastTask(CompletableFuture<?> arg0, AsyncHelper$Future<K, U, V> arg1)