Package net.minecraft.util
Class SequencedPriorityIterator<T>
java.lang.Object
com.google.common.collect.UnmodifiableIterator<T>
com.google.common.collect.AbstractIterator<T>
net.minecraft.util.SequencedPriorityIterator<T>
- All Implemented Interfaces:
Iterator<T>
public final class SequencedPriorityIterator<T>
extends com.google.common.collect.AbstractIterator<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private static final int
-
Constructor Summary
-
Method Summary
Methods inherited from class com.google.common.collect.AbstractIterator
endOfData, hasNext, next, peek
Methods inherited from class com.google.common.collect.UnmodifiableIterator
remove
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
MIN_PRIO
private static final int MIN_PRIO- See Also:
-
highestPrioQueue
-
highestPrio
private int highestPrio -
queuesByPriority
-
-
Constructor Details
-
SequencedPriorityIterator
public SequencedPriorityIterator()
-
-
Method Details
-
add
-
computeNext
- Specified by:
computeNext
in classcom.google.common.collect.AbstractIterator<T>
-
switchCacheToNextHighestPrioQueue
private void switchCacheToNextHighestPrioQueue()
-