|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PriorityQueueLocator<E>
The PriorityQueueLocator
interface
extends the Locator
interface to add methods that are
specific to a priority queue.
Method Summary | |
---|---|
void |
decreasePriority(E element)
Replaces the element associated with this priority queue locator by the given lower priority element. |
void |
increasePriority(E element)
Replaces the element associated with this priority queue locator by the given higher priority element. |
void |
update(E element)
Replaces the element associated with this priority queue locator by the given element. |
Methods inherited from interface goldman.collection.Locator |
---|
advance, get, ignoreConcurrentModifications, ignorePriorConcurrentModifications, inCollection, retreat |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
void decreasePriority(E element)
decreasePriority
to restore the properties of the priority queue.
void increasePriority(E element)
increasePriority
to restore the properties of the priority queue.
void update(E element)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |