|
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.FilterEnum
A FilterEnum filters an underlying Enumeration using a client supplied Filter.
| Field Summary | |
Filter |
filter
The filter we are using: |
protected java.util.Enumeration |
underlyingEnum
The underlying Enumeration: |
| Constructor Summary | |
FilterEnum(java.util.Enumeration E,
Filter F)
Filter the Enumeration E using Filter F: |
|
| Method Summary | |
protected 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 |
protected java.util.Enumeration underlyingEnum
public Filter filter
| Constructor Detail |
public FilterEnum(java.util.Enumeration E,
Filter F)
| Method Detail |
protected java.lang.Object calcNextElement()
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 | ||||||||||