ArrayList<String> list = ... iterator.forEachRemaining(list::add); Rémi
On 29 août 2014 00:22:11 UTC+02:00, Pavel Rappo <pavel.ra...@oracle.com> wrote: >> If we were to provide a Collections util it would to wrap Enumeration >as an Iterator but that's it. > >Mike, that's what I'm talking about. It's just for convenience. > >-Pavel -- Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.