|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AdaptablePriorityQueue<K,V>
Interface for an adaptable priority queue.
Method Summary | |
---|---|
Entry<K,V> |
remove(Entry<K,V> e)
Removes and returns an entry from the priority queue. |
K |
replaceKey(Entry<K,V> e,
K key)
Replaces the key of an entry and returns the old key. |
V |
replaceValue(Entry<K,V> e,
V value)
Replaces the value of an entry and returns the old value. |
Methods inherited from interface net.datastructures.PriorityQueue |
---|
insert, isEmpty, min, removeMin, size |
Method Detail |
---|
Entry<K,V> remove(Entry<K,V> e)
K replaceKey(Entry<K,V> e, K key) throws InvalidKeyException
InvalidKeyException
V replaceValue(Entry<K,V> e, V value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |