commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: [lang?] Converting an array to an Iterable
Date Thu, 18 Aug 2011 20:44:23 GMT
The array list returned by Arrays.asList does exactly that.

On Thu, Aug 18, 2011 at 12:43 PM, Oliver Heger <oliver.heger@oliver-heger.de
> wrote:

> Arrays.asList() produces a new List object (I assume, did not look at the
> code). A custom implementation of Iterable could return an iterator which
> directly operates on the array.
>
> Oliver
>
> Am 17.08.2011 23:00, schrieb Dave Brosius:
>
>>  What would this do that java.util.Arrays.asList does not?  ----- Original
>> Message -----From:&quot;Oliver Heger&quot;>;oliver.heger@**
>> oliver-heger.de <oliver.heger@oliver-heger.de>
>>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: dev-unsubscribe@commons.**apache.org<dev-unsubscribe@commons.apache.org>
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message