Package net.minecraft.util.thread
Class AsyncHelper.Single<K,U,V>
java.lang.Object
net.minecraft.util.thread.AsyncHelper.Batcher<K,U,V>
net.minecraft.util.thread.AsyncHelper.Single<K,U,V>
- Enclosing class:
AsyncHelper
- Mappings:
Namespace Name named net/minecraft/util/thread/AsyncHelper$Singleintermediary net/minecraft/class_10769$class_10772official cah$c
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletableFuture<Map<K, V>> addLastTask(CompletableFuture<?> future, AsyncHelper.Future<K, U, V> entry) protected intgetLastIndex(int batch) protected CompletableFuture<?> Methods inherited from class net.minecraft.util.thread.AsyncHelper.Batcher
mapAsync
-
Constructor Details
-
Single
Single(BiFunction<K, U, V> function, int size) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/util/thread/AsyncHelper$Single;<init>(Ljava/util/function/BiFunction;I)Vintermediary <init>Lnet/minecraft/class_10769$class_10772;<init>(Ljava/util/function/BiFunction;I)Vofficial <init>Lcah$c;<init>(Ljava/util/function/BiFunction;I)V
-
-
Method Details
-
getLastIndex
protected int getLastIndex(int batch) - Specified by:
getLastIndexin classAsyncHelper.Batcher<K,U, V> - Mappings:
Namespace Name Mixin selector named getLastIndexLnet/minecraft/util/thread/AsyncHelper$Batcher;getLastIndex(I)Iintermediary method_67614Lnet/minecraft/class_10769$class_10773;method_67614(I)Iofficial aLcah$d;a(I)I
-
newBatch
protected CompletableFuture<?> newBatch(AsyncHelper.Future<K, U, V> futures, int size, int maxCount, Executor executor) - Specified by:
newBatchin classAsyncHelper.Batcher<K,U, V> - Mappings:
Namespace Name Mixin selector named newBatchLnet/minecraft/util/thread/AsyncHelper$Batcher;newBatch(Lnet/minecraft/util/thread/AsyncHelper$Future;IILjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;intermediary method_67616Lnet/minecraft/class_10769$class_10773;method_67616(Lnet/minecraft/class_10769$class_10771;IILjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;official aLcah$d;a(Lcah$b;IILjava/util/concurrent/Executor;)Ljava/util/concurrent/CompletableFuture;
-
addLastTask
protected CompletableFuture<Map<K,V>> addLastTask(CompletableFuture<?> future, AsyncHelper.Future<K, U, V> entry) - Specified by:
addLastTaskin classAsyncHelper.Batcher<K,U, V> - Mappings:
Namespace Name Mixin selector named addLastTaskLnet/minecraft/util/thread/AsyncHelper$Batcher;addLastTask(Ljava/util/concurrent/CompletableFuture;Lnet/minecraft/util/thread/AsyncHelper$Future;)Ljava/util/concurrent/CompletableFuture;intermediary method_67619Lnet/minecraft/class_10769$class_10773;method_67619(Ljava/util/concurrent/CompletableFuture;Lnet/minecraft/class_10769$class_10771;)Ljava/util/concurrent/CompletableFuture;official aLcah$d;a(Ljava/util/concurrent/CompletableFuture;Lcah$b;)Ljava/util/concurrent/CompletableFuture;
-