rcm.enum
Class EmptyEnumeration

java.lang.Object
  |
  +--rcm.enum.EmptyEnumeration
All Implemented Interfaces:
java.util.Enumeration, RestartableEnumeration

public class EmptyEnumeration
extends java.lang.Object
implements java.util.Enumeration, RestartableEnumeration

Enumeration which always returns no elements.


Constructor Summary
EmptyEnumeration()
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 void restart()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyEnumeration

public EmptyEnumeration()
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration

restart

public void restart()
Specified by:
restart in interface RestartableEnumeration