RFR(s): 8072726: add adapter to convert Enumeration to Iterator

Pavel Rappo pavel.rappo at oracle.com
Tue May 19 11:26:15 UTC 2015


Any specific implementations can always be added later. As far as I can see, the
spec for `asIterator()` does not specify any identity/state properties of the
returned object.

-Pavel

> On 19 May 2015, at 11:41, Tomasz Kowalczewski <tomasz.kowalczewski at gmail.com> wrote:
> 
> Is there a plan to override the default method asIterator() in specific
> implementations of Enumeration to avoid creating new
> object?




More information about the core-libs-dev mailing list