scala.collection.jcl
class TreeSet

[source: `scala/collection/jcl/TreeSet.scala`]

`` `class` TreeSet[A](`implicit` view$1 : (A) => Ordered[A])
  `extends` SortedSetWrapper[A]

  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

Value Summary
`val` | underlying : java.util.TreeSet Override to specify the collection being accessed through this wrapper. * Collection operations are then routed through the wrapped Java collection.

Methods inherited from SortedSetWrapper
compare, firstKey, lastKey, rangeImpl, toString

Methods inherited from SetWrapper
isEmpty, clear, size

Methods inherited from CollectionWrapper
has, elements, hasAll, add, addAll, hashCode, equals

Methods inherited from IterableWrapper
remove, removeAll, retainAll

Methods inherited from SortedSet
keySet, subsetOf, projection

Methods inherited from Sorted
to

Methods inherited from Ranged
from, until, range

Methods inherited from Set
contains, ++, --, +, -, retain, transform

Methods inherited from Collection
-=, +=

Methods inherited from MutableIterable
retainOnly, size0

Methods inherited from Set
update, +=, ++=, ++=, +, ++, incl, -=, --=, --=, -, --, excl, intersect, <<, clone, readOnly

Methods inherited from Sorted
hasAll

Methods inherited from Set
apply, *, **, toArray, stringPrefix

Methods inherited from Iterable
concat, ++, map, flatMap, filter, partition, takeWhile, dropWhile, take, drop, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, toStream, mkString, mkString, mkString, addString, addString, copyToArray, hasDefiniteSize

Methods inherited from Function1
compose, andThen

Methods inherited from AnyRef
getClass, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Value Details

`` `val` underlying : java.util.TreeSet

  Override to specify the collection being accessed through this wrapper. * Collection operations are then routed through the wrapped Java collection.

Overrides
  SortedSetWrapper.underlying