net.ontopia.utils
Class EmptyEnumerator

java.lang.Object
  extended by net.ontopia.utils.EmptyEnumerator
All Implemented Interfaces:
Enumeration<Object>

public class EmptyEnumerator
extends Object
implements Enumeration<Object>

INTERNAL: Implements an Enumeration that contains nothing.


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

Field Detail

ENUMERATOR

public static final Enumeration<Object> ENUMERATOR
Constructor Detail

EmptyEnumerator

public EmptyEnumerator()
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration<Object>

nextElement

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


Copyright © 2000-2012 Ontopia.