public class EnumerationIterator implements Iterator<ElementType>(Code)
Converts an Enumeration to an iterator.
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 object over which to iterate since: ostermillerutils 1.03.00
Tests if this Iterator contains more elements.
true if and only if this Iterator object contains at leastone more element to provide; false otherwise. since: ostermillerutils 1.03.00
Returns the next element of this Iterator if this Iterator
object has at least one more element to provide.
the next element of this Iterator. throws: NoSuchElementException - if no more elements exist. since: ostermillerutils 1.03.00