org.objectweb.jonathan.libs.helpers
Class EmptyEnumeration
java.lang.Object
|
+--org.objectweb.jonathan.libs.helpers.EmptyEnumeration
- All Implemented Interfaces:
- Enumeration
- public final class EmptyEnumeration
- extends Object
- implements Enumeration
Helper class implementing an empty enumeration.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyEnumeration
public EmptyEnumeration()
hasMoreElements
public boolean hasMoreElements()
- Returns false: an empty enumeration has no more elements.
- Specified by:
hasMoreElements in interface Enumeration
- Returns:
- false.
nextElement
public Object nextElement()
- Returns null: there is no next element.
- Specified by:
nextElement in interface Enumeration
- Returns:
- null.