net.minecraft.util.thread

class AsyncHelper$Single<K, U, V>

extends AsyncHelper$Batcher<K, U, V>

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

Field summary

Modifier and TypeField
static final boolean
$assertionsDisabled
field_56621
field_56621

Constructor summary

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

Method summary

Modifier and TypeMethod
protected int
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)
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)
method_67619(CompletableFuture<?> arg0, class_10769$class_10771<K, U, V> arg1)
addLastTask(CompletableFuture<?> arg0, AsyncHelper$Future<K, U, V> arg1)
private static Map
lambda$scheduleFinalOperation$0(ParallelMapTransform$Container arg0, Object arg1)
method_67628(class_10769$class_10771 arg0, Object arg1)
method_67628(AsyncHelper$Future arg0, Object obj)
private static void
lambda$scheduleBatch$0(ParallelMapTransform$Container arg0, int arg1)
method_67627(class_10769$class_10771 arg0, int arg1)
method_67627(AsyncHelper$Future arg0, int arg1)