public static final class CollectionUtils.EmptyEnumeration<E> extends Object implements Enumeration<E>
| Constructor and Description |
|---|
EmptyEnumeration()
Constructor for the EmptyEnumeration
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements()
Tests if this enumeration contains more elements.
|
E |
nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more
element to provide.
|
public boolean hasMoreElements()
EnumerationhasMoreElements in interface Enumeration<E>public E nextElement() throws NoSuchElementException
EnumerationnextElement in interface Enumeration<E>NoSuchElementException - always.