final class LLEnumeration
extends java.lang.Object
implements java.util.Enumeration
| Modifier and Type | Field and Description |
|---|---|
(package private) LLCell |
cursor |
(package private) LList |
list |
| Constructor and Description |
|---|
LLEnumeration(LList l)
Create an enumeration attached to a LList
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements()
Return true/false depending on whether there are more
elements to enumerate.
|
java.lang.Object |
nextElement()
Get the next element in the enumeration.
|
public LLEnumeration(LList l)
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic java.lang.Object nextElement()
nextElement in interface java.util.Enumeration