--- jsr166/src/main/java/util/TreeSet.java 2005/05/16 08:13:36 1.11 +++ jsr166/src/main/java/util/TreeSet.java 2005/05/17 04:10:23 1.12 @@ -106,15 +106,13 @@ public class TreeSet } /** - * Constructs a new, empty tree set, sorted according to the - * specified comparator. All elements inserted into the set must - * be mutually comparable by the specified comparator: - * comparator.compare(e1, e2) must not throw a - * ClassCastException for any elements e1 and - * e2 in the set. If the user attempts to add an element - * to the set that violates this constraint, the - * add(Object) call will throw a - * ClassCastException. + * Constructs a new, empty tree set, sorted according to the specified + * comparator. All elements inserted into the set must be mutually + * comparable by the specified comparator: comparator.compare(e1, + * e2) must not throw a ClassCastException for any elements + * e1 and e2 in the set. If the user attempts to add + * an element to the set that violates this constraint, the + * add(Object) call will throw a ClassCastException. * * @param comparator the comparator that will be used to order this set. * If null, the {@linkplain Comparable natural @@ -125,12 +123,11 @@ public class TreeSet } /** - * Constructs a new tree set containing the elements in the - * specified collection, sorted according to the natural - * ordering of its elements. All elements inserted into the - * set must implement the {@link Comparable} interface. - * Furthermore, all such elements must be mutually - * comparable: e1.compareTo(e2) must not throw a + * Constructs a new tree set containing the elements in the specified + * collection, sorted according to the natural ordering of its + * elements. All elements inserted into the set must implement the + * {@link Comparable} interface. Furthermore, all such elements must be + * mutually comparable: e1.compareTo(e2) must not throw a * ClassCastException for any elements e1 and * e2 in the set. *