org.apache.slide.util
Class EmptyEnumeration

java.lang.Object
  extended byorg.apache.slide.util.EmptyEnumeration
All Implemented Interfaces:
java.util.Enumeration

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

Implementaion of empty Enumeration.

Does this exist in Comons Collections?


Field Summary
static java.util.Enumeration INSTANCE
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static java.util.Enumeration INSTANCE
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