|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--LinkedListEnumeration
This provides a way to enumerate over a linked list.
Constructor Summary | |
LinkedListEnumeration(LinkedList list)
Creates a new LinkedListEnumeration |
Method Summary | |
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
java.lang.Object |
nextElement()
Returns the next element of this enumeration. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public LinkedListEnumeration(LinkedList list)
list
- The LinkedList to enumerate overMethod Detail |
public boolean hasMoreElements()
public java.lang.Object nextElement() throws java.util.NoSuchElementException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |