public interface Enumerator
-
Method Summary
Return the element under the cursor; return null if !valid() or
if called before first next() call.
Return the next element in the enumeration; first call to next()
returns the first element.
boolean
Any more elements in the enumeration?
-
Method Details
-
cursor
Return the element under the cursor; return null if !valid() or
if called before first next() call.
-
next
Return the next element in the enumeration; first call to next()
returns the first element.
-
valid
boolean valid()
Any more elements in the enumeration?