Class ReflectedPairingHeap.Factory<K,​V>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Factory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AddressableHeap<K,​V> get​(java.util.Comparator<? super K> comparator)
      Get a new heap.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Factory

        private Factory()
    • Method Detail

      • get

        public AddressableHeap<K,​V> get​(java.util.Comparator<? super K> comparator)
        Description copied from interface: AddressableHeapFactory
        Get a new heap.
        Specified by:
        get in interface AddressableHeapFactory<K,​V>
        Parameters:
        comparator - the comparator that will be used to order this heap. If null, the natural ordering of the keys will be used.
        Returns:
        a new heap