Class ReflectedPairingHeap.Factory<K,V>
java.lang.Object
org.jheaps.tree.ReflectedPairingHeap.Factory<K,V>
- All Implemented Interfaces:
AddressableHeapFactory<K,V>
- Enclosing class:
ReflectedPairingHeap<K,V>
private static class ReflectedPairingHeap.Factory<K,V>
extends Object
implements AddressableHeapFactory<K,V>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Factory
private Factory()
-
-
Method Details
-
get
Description copied from interface:AddressableHeapFactoryGet a new heap.- Specified by:
getin interfaceAddressableHeapFactory<K,V> - Parameters:
comparator- the comparator that will be used to order this heap. Ifnull, the natural ordering of the keys will be used.- Returns:
- a new heap
-