Java EE 5 SDK

com.sun.appserv.management.util.misc
Class EnumerationIterator

java.lang.Object
  extended by com.sun.appserv.management.util.misc.EnumerationIterator
All Implemented Interfaces:
Iterator

public final class EnumerationIterator
extends Object
implements Iterator

Implements the Iterator interface over an Enumeration


Constructor Summary
EnumerationIterator(Enumeration enumIn)
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnumerationIterator

public EnumerationIterator(Enumeration enumIn)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.