public interface Enumeration<T>
Modifier and Type | Method and Description |
---|---|
boolean |
hasMoreElements()
Tests if this enumeration contains more elements.
|
T |
nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
|
boolean hasMoreElements()
T nextElement()