Search:

Type: Posts; User: Asido

Search: Search took 0.08 seconds.

  1. Replies
    6
    Views
    2,257

    Re: How to sort an ArrayList of Strings?

    In this case just override the method compareTo()
  2. Replies
    6
    Views
    2,257

    Re: How to sort an ArrayList of Strings?

    Try to look at Comparator and Comparable interfaces. You have to implement one of these or both interfaces, implement some methods and then sort the method by calling Collections.sort() or something....
Results 1 to 2 of 2