public class IteratorEnumeration implements Enumeration<ElementType>(Code)
Converts an iterator to an enumerator.
More information about this class is available from ostermiller.org.
author: Stephen Ostermiller http://ostermiller.org/contact.pl?regarding=Java+Utilities< Parameters: ElementType - > Type of element being enumerated since: ostermillerutils 1.03.00
Tests if this enumeration contains more elements.
true if and only if this enumeration object contains at leastone more element to provide; false otherwise. since: ostermillerutils 1.03.00
Returns the next element of this enumeration if this enumeration
object has at least one more element to provide.
the next element of this enumeration. throws: NoSuchElementException - if no more elements exist. since: ostermillerutils 1.03.00