org.melati.poem.util
Class EmptyEnumeration<T>

Package class diagram package EmptyEnumeration
java.lang.Object
  extended by org.melati.poem.util.EmptyEnumeration<T>
All Implemented Interfaces:
Enumeration<T>

public class EmptyEnumeration<T>
extends Object
implements Enumeration<T>

An Enumeration with no elements in it.


Field Summary
static EmptyEnumeration<Object> it
          The instance.
 
Constructor Summary
EmptyEnumeration()
           
 
Method Summary
 boolean hasMoreElements()
          
 T nextElement()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

it

public static final EmptyEnumeration<Object> it
The instance.

Constructor Detail

EmptyEnumeration

public EmptyEnumeration()
Method Detail

hasMoreElements

public boolean hasMoreElements()

Specified by:
hasMoreElements in interface Enumeration<T>
See Also:
Enumeration.hasMoreElements()

nextElement

public T nextElement()

Specified by:
nextElement in interface Enumeration<T>
See Also:
Enumeration.nextElement()


Copyright © 2000-2010 PanEris. All Rights Reserved.