as Enumeration
Adapts an Iterator to the Enumeration interface.
The Iterable equivalent of this method is either Collections.enumeration (if you have a Collection), or Iterators.asEnumeration(collection.iterator()).
Adapts an Iterator to the Enumeration interface.
The Iterable equivalent of this method is either Collections.enumeration (if you have a Collection), or Iterators.asEnumeration(collection.iterator()).