Reverse List<Object>

Posted by Mercer on Stack Overflow See other posts from Stack Overflow or by Mercer
Published on 2010-05-27T15:41:56Z Indexed on 2010/05/27 15:51 UTC
Read the original article Hit count: 279

Filed under:
|
|

Hello, i have a List

List<DataClient> listDataClient;

My class DataCLient:

Client client;
List<String> phoneNumber;

i have a second list

List<DataPhoneNumber> listPhoneNumber;

My class DataPhoneNumber:

String phoneNumber;
List<Client> client;

In my code i put data in my first list but now i want to reverse my list in the second. In the first list i have a Client wiht x NumberPhone now i want to have NumberPhone for x Client

© Stack Overflow or respective owner

Related posts about java

Related posts about list