Class IteratorEnumeration<E>

java.lang.Object
org.bzdev.util.IteratorEnumeration<E>
All Implemented Interfaces:
Enumeration<E>

public class IteratorEnumeration<E> extends Object implements Enumeration<E>
Class for an Enumeration whose implementation uses an Iterator. The Iterator class was introduced in Java 1.2 as an improvement over the Enumeration class. Unfortunately, some APIs require an Enumeration and others require an Iterator. This class provides a bridge between the two APIs.