I need to sort an ArrayList and i can’t use Collections.sort(), because Google App Engine’s Java runtime environment doesn’t support it. How can I do? Thanks! ^^
I need to sort an ArrayList and i can’t use Collections.sort(), because Google App
Share
If your ArrayList has NO DUPLICATE VALUES….. and i am assuming even if it had, you didnt wanted to have redundant data..so its better to use TreeSet and Comparator together…
Eg: