// Create a list
String[] strArray = new String[] {"e", "a", "A"};
List list = Arrays.asList(strArray);
// Sort
Collections.sort(list); // A, a, e
Subscribe to:
Post Comments (Atom)
Sample Java Codes Copyright © 2008 Green Scrapbook Diary Designed by SimplyWP | Made free by Scrapbooking Software | Bloggerized by Ipiet Notez
0 comments:
Post a Comment