Class GrowablePriorityLongPairQueue


  • public class GrowablePriorityLongPairQueue
    extends java.lang.Object
    An unbounded priority queue based on a min heap where values are composed of pairs of longs.

    When the capacity is reached, data will be moved to a bigger array. It also act as a set and doesn't store duplicate values if #allowedDuplicate flag is passed false

    (long,long)

    • Constructor Detail

      • GrowablePriorityLongPairQueue

        public GrowablePriorityLongPairQueue()
      • GrowablePriorityLongPairQueue

        public GrowablePriorityLongPairQueue​(int initialCapacity)