org.apache.commons.collections
Class IteratorEnumeration
java.lang.Object
|
+--org.apache.commons.collections.IteratorEnumeration
- All Implemented Interfaces:
- Enumeration
- public class IteratorEnumeration
- extends Object
- implements Enumeration
Adapter to make an Iterator
instance appear to be an Enumeration
instances
- Author:
- James Strachan
IteratorEnumeration
public IteratorEnumeration()
IteratorEnumeration
public IteratorEnumeration(Iterator iterator)
getIterator
public Iterator getIterator()
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration
nextElement
public Object nextElement()
- Specified by:
nextElement
in interface Enumeration
setIterator
public void setIterator(Iterator iterator)
Copyright © 2001 Apache Software Foundation. Documenation generated July 14 2001.