/** * create a SortedSet out of an unsorted set. <br> * * @param other != null */ public SortedSet(ISet<E> other) { ArrayList<E> temp = new ArrayList<E>(); Iterator<E> otherIterator = other.iterator(); while (otherIterator.hasNext()) temp.add(otherIterator.next()); mergeSort(temp); myCon = temp; }