Constructs a new tree set containing the elements in the specified
collection, sorted according to the <i>natural ordering</i> of its
elements. All elements inserted into the set must implement the
{@link Comparable} interface. Furthermore, all such elements must be
<i>mutually comparable</i>: {@code e1.compareTo(e2)} must not throw a
{@code ClassCastException} for any elements {@code e1} and
{@code e2} in the set.
@param c collection whose elements will comprise the new set
@throws ClassCastException if the elements in {@code c} are
not {@link Comparable}, or are not mutually comparable
@throws NullPointerException if the specified collection is null
Constructs a new tree set containing the elements in the specified collection, sorted according to the <i>natural ordering</i> of its elements. All elements inserted into the set must implement the {@link Comparable} interface. Furthermore, all such elements must be <i>mutually comparable</i>: {@code e1.compareTo(e2)} must not throw a {@code ClassCastException} for any elements {@code e1} and {@code e2} in the set.
@param c collection whose elements will comprise the new set @throws ClassCastException if the elements in {@code c} are not {@link Comparable}, or are not mutually comparable @throws NullPointerException if the specified collection is null