public interface Enumerator
Modifier and Type | Method and Description |
---|---|
Object |
cursor()
Return the element under the cursor; return null if !
|
Object |
next()
Return the next element in the enumeration; first call to next()
returns the first element.
|
boolean |
valid()
Any more elements in the enumeration?
|
Object cursor()
Object next()
boolean valid()