org.openide.util.enum
Class EmptyEnumeration

java.lang.Object
  |
  +--org.openide.util.enum.EmptyEnumeration
All Implemented Interfaces:
Enumeration

public final class EmptyEnumeration
extends Object
implements Enumeration

The class that represents empty enumeration.


Field Summary
static EmptyEnumeration EMPTY
          instance of empty enumeration
 
Constructor Summary
EmptyEnumeration()
           
 
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

EMPTY

public static final EmptyEnumeration EMPTY
instance of empty enumeration
Constructor Detail

EmptyEnumeration

public EmptyEnumeration()
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration

nextElement

public Object nextElement()
                   throws NoSuchElementException
Specified by:
nextElement in interface Enumeration


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.