|
ESC/Java2 © 2003,2004,2005,2006 David Cok and Joseph Kiniry © 2005,2006 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavafe.filespace.LookAheadEnum
javafe.filespace.TreeWalker_ArrayEnum
A Enumeration for enumerating the members of an array of Objects. This filter is for the use of the TreeWalker class only; if inner classes were available, it would be expressed as an anonymous class.
| Field Summary | |
private int |
index
|
private java.lang.Object[] |
list
|
| Constructor Summary | |
(package private) |
TreeWalker_ArrayEnum(java.lang.Object[] list)
|
| Method Summary | |
java.lang.Object |
calcNextElement()
Compute the next element in the series, or return null if the series is exhausted. |
boolean |
hasMoreElements()
|
java.lang.Object |
nextElement()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.lang.Object[] list
private int index
| Constructor Detail |
TreeWalker_ArrayEnum(java.lang.Object[] list)
| Method Detail |
public java.lang.Object calcNextElement()
LookAheadEnum
calcNextElement in class LookAheadEnumpublic final boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic final java.lang.Object nextElement()
nextElement in interface java.util.Enumeration
|
ESC/Java2 © 2003,2004,2005,2006 David Cok and Joseph Kiniry © 2005,2006 UCD Dublin © 2003,2004 Radboud University Nijmegen © 1999,2000 Compaq Computer Corporation © 1997,1998,1999 Digital Equipment Corporation All Rights Reserved |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||