public class IlvIteratorEnumeration<E> extends Object implements Enumeration<E>
IlvIteratorEnumeration wrappers an iterator into
 an enumeration. This allows to convert objects of type Iterator
 into objects of type Enumeration.IlvEnumerationIterator| Constructor and Description | 
|---|
| IlvIteratorEnumeration(Iterator<? extends E> iterator)Creates an enumeration from an iterator. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | hasMoreElements()Tests if this enumeration contains more elements. | 
| E | nextElement()Returns the next element of this enumeration if this enumeration
 object has at least one more element to provide. | 
public boolean hasMoreElements()
hasMoreElements in interface Enumeration<E>true if and only if this enumeration object
           contains at least one more element to provide;
          false otherwise.public E nextElement()
nextElement in interface Enumeration<E>NoSuchElementException - if no more elements exist.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.