lapisx.enum
Class EmptyEnumeration

java.lang.Object
  extended bylapisx.enum.EmptyEnumeration
All Implemented Interfaces:
Enumeration, RestartableEnumeration

public class EmptyEnumeration
extends Object
implements Enumeration, RestartableEnumeration

Enumeration which always returns no elements.


Constructor Summary
EmptyEnumeration()
           
 
Method Summary
 boolean hasMoreElements()
           
 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 Enumeration

nextElement

public Object nextElement()
Specified by:
nextElement in interface Enumeration

restart

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