K - the type of keys maintained by the heapV - the type of values maintained by the heappublic interface AddressableHeapFactory<K,V>
| Modifier and Type | Method and Description |
|---|---|
AddressableHeap<K,V> |
get(Comparator<? super K> comparator)
Get a new heap.
|
AddressableHeap<K,V> get(Comparator<? super K> comparator)
comparator - the comparator that will be used to order this heap. If
null, the natural ordering of
the keys will be used.Copyright © 2018. All rights reserved.