| Author |
ArrayList
|
MInu
Ranch Hand
Joined: Oct 09, 2003
Posts: 517
|
|
Hi all, I have two ArrayList, ArrayList A1 contains some integer values like (01,34,21,08,65). ArrayList A2 contains some values like (af,ab,fd,ws,vd) I have to sort both of these .. How can i do this.? Can help me............................ Thanks in Advance.
|
God Gave Me Nothing I Wanted<br />He Gave Me Everything I Needed<br /> - Swami Vivekananda
|
 |
Keith Lynn
Ranch Hand
Joined: Feb 07, 2005
Posts: 2341
|
|
There is a sort method in Collections that lets you sort a collection based on natural order. There is also a sort method in Collections that lets you specificy a Comparator.
|
 |
 |
|
|
subject: ArrayList
|
|
|