Package net.minecraft.util.concurrent
Class ITaskQueue.Priority
- java.lang.Object
-
- net.minecraft.util.concurrent.ITaskQueue.Priority
-
- All Implemented Interfaces:
ITaskQueue<ITaskQueue.RunnableWithPriority,java.lang.Runnable>
- Enclosing interface:
- ITaskQueue<T,F>
public static final class ITaskQueue.Priority extends java.lang.Object implements ITaskQueue<ITaskQueue.RunnableWithPriority,java.lang.Runnable>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.minecraft.util.concurrent.ITaskQueue
ITaskQueue.Priority, ITaskQueue.RunnableWithPriority, ITaskQueue.Single<T>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.util.Queue<java.lang.Runnable>>
queueList
-
Constructor Summary
Constructors Constructor Description Priority(int p_i50964_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEmpty()
java.lang.Runnable
pop()
boolean
push(ITaskQueue.RunnableWithPriority p_212828_1_)
-
-
-
Method Detail
-
pop
@Nullable public java.lang.Runnable pop()
- Specified by:
pop
in interfaceITaskQueue<ITaskQueue.RunnableWithPriority,java.lang.Runnable>
-
push
public boolean push(ITaskQueue.RunnableWithPriority p_212828_1_)
- Specified by:
push
in interfaceITaskQueue<ITaskQueue.RunnableWithPriority,java.lang.Runnable>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceITaskQueue<ITaskQueue.RunnableWithPriority,java.lang.Runnable>
-
-