commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorbjørn Ravn Andersen <thunderax...@gmail.com>
Subject Re: How can I split a List into sub-lists
Date Fri, 06 Jun 2008 14:55:29 GMT
Zsolt Koppany skrev  den 05-06-2008 20:41:
> Hi,
>
> I would like to split a list like below:
>
> {A1 A2 A3 B1 B2 B3} into
>
> {
>  {A1 B1}
>  {A2 B2}
>  {A3 B3}
> }
>
> Which class can do that?
>   
ArrayList of ArrayList?

Naturally depends on your exact criteria of what goes where in which order.

-- 
  Thorbjørn

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message