Package net.minecraft.util.thread
Class TaskQueue.Prioritized
java.lang.Object
net.minecraft.util.thread.TaskQueue.Prioritized
- All Implemented Interfaces:
TaskQueue<TaskQueue.PrioritizedTask,Runnable>
public static final class TaskQueue.Prioritized extends Object implements TaskQueue<TaskQueue.PrioritizedTask,Runnable>
- Mappings:
Namespace Name official apc$a
intermediary net/minecraft/class_3847$class_3848
named net/minecraft/util/thread/TaskQueue$Prioritized
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.thread.TaskQueue
TaskQueue.Prioritized, TaskQueue.PrioritizedTask, TaskQueue.Simple<T>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Prioritized(int priorityCount)
-
Method Summary
Modifier and Type Method Description boolean
add(TaskQueue.PrioritizedTask prioritizedTask)
boolean
isEmpty()
Runnable
poll()
-
Field Details
-
queues
- Mappings:
Namespace Name Mixin selector official a
Lapc$a;a:Ljava/util/List;
intermediary field_17044
Lnet/minecraft/class_3847$class_3848;field_17044:Ljava/util/List;
named queues
Lnet/minecraft/util/thread/TaskQueue$Prioritized;queues:Ljava/util/List;
-
-
Constructor Details
-
Prioritized
public Prioritized(int priorityCount)- Mappings:
Namespace Name Mixin selector official <init>
Lapc$a;<init>(I)V
intermediary <init>
Lnet/minecraft/class_3847$class_3848;<init>(I)V
named <init>
Lnet/minecraft/util/thread/TaskQueue$Prioritized;<init>(I)V
-
-
Method Details
-
poll
- Specified by:
poll
in interfaceTaskQueue<TaskQueue.PrioritizedTask,Runnable>
- Mappings:
Namespace Name Mixin selector official c
Lapc$a;c()Ljava/lang/Runnable;
intermediary method_17346
Lnet/minecraft/class_3847$class_3848;method_17346()Ljava/lang/Runnable;
named poll
Lnet/minecraft/util/thread/TaskQueue$Prioritized;poll()Ljava/lang/Runnable;
-
add
- Specified by:
add
in interfaceTaskQueue<TaskQueue.PrioritizedTask,Runnable>
- Mappings:
Namespace Name Mixin selector official a
Lapc$a;a(Lapc$b;)Z
intermediary method_16913
Lnet/minecraft/class_3847$class_3848;method_16913(Lnet/minecraft/class_3847$class_3907;)Z
named add
Lnet/minecraft/util/thread/TaskQueue$Prioritized;add(Lnet/minecraft/util/thread/TaskQueue$PrioritizedTask;)Z
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceTaskQueue<TaskQueue.PrioritizedTask,Runnable>
- Mappings:
Namespace Name Mixin selector official b
Lapc;b()Z
intermediary method_16911
Lnet/minecraft/class_3847;method_16911()Z
named isEmpty
Lnet/minecraft/util/thread/TaskQueue;isEmpty()Z
-