public TreeSet(SortedSet<E> set) {this(set.comparator());Iterator<E> it = set.iterator();while (it.hasNext()) {add(it.next());}}

public TreeSet ( SortedSet < E > set ) { this ( set . comparator ( ) ) ; Iterator < E > it = set . iterator ( ) ; while ( it . hasNext ( ) ) { add ( it . next ( ) ) ; } }
public TreeSet(java.util.SortedSet<E> set) : this(set.comparator()){java.util.Iterator<E> it = set.iterator();while (it.hasNext()){add(it.next());}}
