K - the type of keys maintained by this heapV - the type of values maintained by this heappublic static interface DoubleEndedAddressableHeap.Handle<K,V> extends AddressableHeap.Handle<K,V>
| Modifier and Type | Method and Description |
|---|---|
void |
increaseKey(K newKey)
Increase the key of the element.
|
decreaseKey, delete, getKey, getValue, setValuevoid increaseKey(K newKey)
newKey - the new keyIllegalArgumentException - if the new key is smaller than the old key according to
the comparator used when constructing the heap or the
natural ordering of the elements if no comparator was
usedCopyright © 2018. All rights reserved.