|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--javaslam.util.PriorityQueue.QueueItemIterator
An iterator over queue items. This wraps an iterator over elements and gives access to their corresponding items.
| Field Summary | |
protected Iterator |
i
The underlying iterator over elements. |
| Constructor Summary | |
PriorityQueue.QueueItemIterator(Iterator i)
Constructor. |
|
| Method Summary | |
boolean |
hasNext()
Returns true if this iterator has more items. |
Object |
next()
Returns the next item in this iteration. |
void |
remove()
This operation is unsupported. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Iterator i
| Constructor Detail |
public PriorityQueue.QueueItemIterator(Iterator i)
i - an iterator over
QueueElement objects.| Method Detail |
public boolean hasNext()
true if this iterator has more items.
hasNext in interface Iteratorpublic Object next()
next in interface Iteratorpublic void remove()
remove in interface IteratorUnsupportedOperationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||