Package org.jheaps

Interface AddressableHeapFactory<K,​V>

    • Method Detail

      • get

        AddressableHeap<K,​V> get​(java.util.Comparator<? super K> comparator)
        Get a new heap.
        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