For creating a quick set, i'd recommend using a Binary Search Tree or a Hash Table instead. You can define the compareTo method any way you want, that's the point of having the Comparable interface....