Pavel,


The stated reason is to discourage use of a 'poor man's collection'.  See Java 
Collections API Design FAQ 
(http://docs.oracle.com/javase/7/docs/technotes/guides/collections/designfaq.html)
 under the 'Collection Interface' section.



Jason



----------------------------------------
> From: pavel.ra...@oracle.com
> Subject: A List from Iterator
> Date: Thu, 28 Aug 2014 17:13:33 +0100
> To: core-libs-dev@openjdk.java.net
>
> 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