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