Class IterableEnumeration<T>

  • Type Parameters:
    T - the type of the element returned by the iterator
    All Implemented Interfaces:
    Iterable<T>

    public class IterableEnumeration<T>
    extends Object
    implements Iterable<T>
    Wrap an Enumeration and make it compatible with new Iterators. Useful for dealing with old style API's.