org.gjt.rec.util
Class EmptyEnumeration
java.lang.Object
|
+--org.gjt.rec.util.EmptyEnumeration
- All Implemented Interfaces:
- Enumeration
- public final class EmptyEnumeration
- extends Object
- implements Enumeration
An enumeration with no elements. This class is a Singleton.
- Author:
- Neil Stockbridge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values
onlyInstance
public static EmptyEnumeration onlyInstance()
- Returns:
- The only instance of this class allowed in the VM.
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration
nextElement
public Object nextElement()
- Specified by:
nextElement
in interface Enumeration