com.caucho.util
Class NullEnumeration<T>

java.lang.Object
  extended by com.caucho.util.NullEnumeration<T>
All Implemented Interfaces:
java.util.Enumeration<T>

public class NullEnumeration<T>
extends java.lang.Object
implements java.util.Enumeration<T>

A null iterator


Method Summary
static
<T> NullEnumeration<T>
create()
           
 boolean hasMoreElements()
           
 T nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static <T> NullEnumeration<T> create()

hasMoreElements

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

nextElement

public T nextElement()
Specified by:
nextElement in interface java.util.Enumeration<T>