Class LongPriorityQueue


  • public final class LongPriorityQueue
    extends Object
    Internal primitive priority queue, used by PoolChunk. The implementation is based on the binary heap, as described in Algorithms by Sedgewick and Wayne.
    • Constructor Detail

      • LongPriorityQueue

        public LongPriorityQueue()
    • Method Detail

      • offer

        public void offer​(long handle)
      • remove

        public void remove​(long value)
      • peek

        public long peek()
      • poll

        public long poll()
      • isEmpty

        public boolean isEmpty()