T
- the type of object this iterator returnspublic class EnumerationIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
Constructor and Description |
---|
EnumerationIterator(java.util.Enumeration<T> enumer)
Creates a new iteratorwrapper instance for the specified
Enumeration.
|
public EnumerationIterator(java.util.Enumeration<T> enumer)
enumer
- The Enumeration to wrap.public T next()
next
in interface java.util.Iterator<T>
public boolean hasNext()
hasNext
in interface java.util.Iterator<T>
public void remove()
remove
in interface java.util.Iterator<T>
Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.