org.openide.util.enumerations 6.21

org.openide.util.enum
Class EmptyEnumeration

java.lang.Object
  extended by org.openide.util.enum.EmptyEnumeration
All Implemented Interfaces:
Enumeration

Deprecated. JDK 1.5 treats enum as a keyword so this class was replaced by org.openide.util.Enumerations#empty().

public final class EmptyEnumeration
extends Object
implements Enumeration

The class that represents empty enumeration.


Field Summary
static EmptyEnumeration EMPTY
          Deprecated. instance of empty enumeration
 
Constructor Summary
EmptyEnumeration()
          Deprecated.  
 
Method Summary
 boolean hasMoreElements()
          Deprecated.  
 Object nextElement()
          Deprecated.  
 
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
Deprecated. 
instance of empty enumeration

Constructor Detail

EmptyEnumeration

public EmptyEnumeration()
Deprecated. 
Method Detail

hasMoreElements

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

nextElement

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

org.openide.util.enumerations 6.21

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.