The comparable interface declares one method called compareTo(). It returns -1,0, or 1 depending whether the current object is less than, equal to or greater than the one passed to the method. Check the API for more details.
Bosun (SCJP, SCWCD).
So much trouble in the world -- Bob Marley
BTW, Strings already implement Comparable, so you really don't need to do anything. Just stick the String objects in your ArrayList and call Collections.sort().