TreeSet & lt string & gtset = new tree set< string & gt (new comparator () {
@ Overlay
public int compare(Object arg0,Object arg 1) {
Returns 0;
}
});