The array list returned by Arrays.asList does exactly that. On Thu, Aug 18, 2011 at 12:43 PM, Oliver Heger <[email protected] > 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:"Oliver Heger">;oliver.heger@** >> oliver-heger.de <[email protected]> >> > > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > dev-unsubscribe@commons.**apache.org<[email protected]> > For additional commands, e-mail: [email protected] > >
