summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/jcl/TreeSet.scala
blob: 01cfe5036e2e4d36ae3b19a89caf6a5da586d455 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
package scala.collection.jcl;

/** Creates a sorted set that is backed by an underlying Java tree set. Elements
  * of the sorted set are ordered with respect to the ordered view bound of A.
  *
  * @author Sean McDirmid
  */
class TreeSet[A <% Ordered[A]] extends ConcreteWrapper[A] with SortedSetWrapper[A] {
  val underlying = new java.util.TreeSet(new Comparator[A]);
}