类 LeveledPriorityQueue
java.lang.Object
net.minecraft.world.level.lighting.LeveledPriorityQueue
-
字段概要
字段修饰符和类型字段说明private int
private final int
private final it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet[]
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
checkFirstQueuedLevel
(int pEndLevelIndex) void
dequeue
(long pValue, int pLevelIndex, int pEndIndex) void
enqueue
(long pValue, int pLevelIndex) boolean
isEmpty()
long
-
字段详细资料
-
levelCount
private final int levelCount -
queues
private final it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet[] queues -
firstQueuedLevel
private int firstQueuedLevel
-
-
构造器详细资料
-
LeveledPriorityQueue
public LeveledPriorityQueue(int pLevelCount, int pExpectedSize)
-
-
方法详细资料
-
removeFirstLong
public long removeFirstLong() -
isEmpty
public boolean isEmpty() -
dequeue
public void dequeue(long pValue, int pLevelIndex, int pEndIndex) -
enqueue
public void enqueue(long pValue, int pLevelIndex) -
checkFirstQueuedLevel
private void checkFirstQueuedLevel(int pEndLevelIndex)
-