We considered having Enumeration extend Iterator and provide next() and 
hasNext() defaults which called the Enumeration methods but found, 
unfortuantely that there were several Enumeration implementations that already 
had next().

If we were to provide a Collections util it would to wrap Enumeration as an 
Iterator but that's it.

Mike

On Aug 28 2014, at 09:13 , Pavel Rappo <pavel.ra...@oracle.com> wrote:

> Hi everyone,
> 
> Is there any particular reason why there's no convenience method for 
> iterators similar to j.u.Collections.list for enumerations? Or at least the 
> one that adapts Iterator to Enumeration and vice versa. Thanks.
> 
> -Pavel
> 

Reply via email to