Package net.minecraft.util.concurrent
Class ITaskQueue.Priority
java.lang.Object
net.minecraft.util.concurrent.ITaskQueue.Priority
- All Implemented Interfaces:
ITaskQueue<ITaskQueue.RunnableWithPriority,
Runnable>
- Enclosing interface:
- ITaskQueue<T,
F>
public static final class ITaskQueue.Priority
extends Object
implements ITaskQueue<ITaskQueue.RunnableWithPriority,Runnable>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.concurrent.ITaskQueue
ITaskQueue.Priority, ITaskQueue.RunnableWithPriority, ITaskQueue.Single<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isEmpty()
pop()
boolean
push
(ITaskQueue.RunnableWithPriority p_212828_1_)
-
Field Details
-
queueList
-
-
Constructor Details
-
Priority
public Priority(int p_i50964_1_)
-
-
Method Details
-
pop
- Specified by:
pop
in interfaceITaskQueue<ITaskQueue.RunnableWithPriority,
Runnable>
-
push
- Specified by:
push
in interfaceITaskQueue<ITaskQueue.RunnableWithPriority,
Runnable>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceITaskQueue<ITaskQueue.RunnableWithPriority,
Runnable>
-