|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--antlr.collections.impl.LLEnumeration
An enumeration of a LList. Maintains a cursor through the list. bad things would happen if the list changed via another thread while we were walking this list.
| Field Summary | |
(package private) LLCell |
cursor
|
(package private) LList |
list
|
| Constructor Summary | |
LLEnumeration(LList l)
Create an enumeration attached to a LList |
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
LLCell cursor
LList list
| Constructor Detail |
public LLEnumeration(LList l)
| Method Detail |
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic java.lang.Object nextElement()
nextElement in interface java.util.Enumeration
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||