org.apache.felix.utils.collections
Class IteratorToEnumeration

java.lang.Object
  extended by org.apache.felix.utils.collections.IteratorToEnumeration
All Implemented Interfaces:
Enumeration

public class IteratorToEnumeration
extends Object
implements Enumeration


Constructor Summary
IteratorToEnumeration(Iterator iter)
           
 
Method Summary
 boolean hasMoreElements()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratorToEnumeration

public IteratorToEnumeration(Iterator iter)
Method Detail

hasMoreElements

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

nextElement

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


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.