final class LLEnumeration extends Object implements 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.
|
Object |
nextElement()
Get the next element in the enumeration.
|
public LLEnumeration(LList l)
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration
public Object nextElement()
nextElement
in interface Enumeration