net.ontopia.utils
Class EmptyEnumerator

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

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

INTERNAL: Implements an Enumeration that contains nothing.


Field Summary
static java.util.Enumeration<java.lang.Object> ENUMERATOR
           
 
Constructor Summary
EmptyEnumerator()
           
 
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

ENUMERATOR

public static final java.util.Enumeration<java.lang.Object> ENUMERATOR
Constructor Detail

EmptyEnumerator

public EmptyEnumerator()
Method Detail

hasMoreElements

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

nextElement

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


Copyright © 2000-2012 Ontopia.