RFR(s): 8072726: add adapter to convert Enumeration to Iterator (original) (raw)
Pavel Rappo pavel.rappo at oracle.com
Tue May 19 11:26:15 UTC 2015
- Previous message: RFR(s): 8072726: add adapter to convert Enumeration to Iterator
- Next message: RFR(s): 8072726: add adapter to convert Enumeration to Iterator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
- Previous message: RFR(s): 8072726: add adapter to convert Enumeration to Iterator
- Next message: RFR(s): 8072726: add adapter to convert Enumeration to Iterator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]