- java.lang.Object
-
- io.netty5.util.internal.LongPriorityQueue
-
public final class LongPriorityQueue extends Object
Internal primitive priority queue, used byPoolChunk
. The implementation is based on the binary heap, as described in Algorithms by Sedgewick and Wayne.
-
-
Field Summary
Fields Modifier and Type Field Description static int
NO_VALUE
-
Constructor Summary
Constructors Constructor Description LongPriorityQueue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEmpty()
void
offer(long handle)
long
peek()
long
poll()
void
remove(long value)
-
-
-
Field Detail
-
NO_VALUE
public static final int NO_VALUE
- See Also:
- Constant Field Values
-
-