|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.mhhe.clrs2e.LinkedList.ListIterator
Abstract inner class for an iterator.
| Constructor Summary | |
LinkedList.ListIterator()
|
|
| Method Summary | |
abstract boolean |
hasNext()
Returns true if this iterator has more
elements, false otherwise. |
abstract java.lang.Object |
next()
Returns the next element in the iteration. |
abstract void |
remove()
Removes the last element returned by the iterator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LinkedList.ListIterator()
| Method Detail |
public abstract boolean hasNext()
true if this iterator has more
elements, false otherwise.
hasNext in interface java.util.Iteratorpublic abstract java.lang.Object next()
next in interface java.util.Iteratorpublic abstract void remove()
remove in interface java.util.Iterator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||