tracks = new TreeSet(new Comparator() { public int compare(Object o0, Object o1) { return ((Track) o0).compareTo((Track) o1); } public boolean equals(Object o0, Object o1) { return compare(o0, o1) == 0; } });
tracks = new HashSet();
  private void create() {    try {      tracks = new TreeSet(new Comparator() {        public int compare(Object o0, Object o1) {          return ((Track) o0).compareTo((Track) o1);        }        public boolean equals(Object o0, Object o1) {          return compare(o0, o1) == 0;        }      });      hash = new Hashtable();      docElt = new XMLElement(new Hashtable(), false, false);      docElt.setName(docElementName);    }    catch (Exception e) {      e.printStackTrace();    }  }