scala.collection.immutable

trait SortedSet

[source: scala/collection/immutable/SortedSet.scala]

trait SortedSet[A]
extends SortedSet[A] with Set[A]
Direct Known Subclasses:
TreeSet

Method Summary
override abstract def + (elem : A) : SortedSet[A]
Create a new set with an additional element.
override def ++ (elems : Iterable[A]) : SortedSet[A]
Add all the elements provided by an iterator of the iterable object elems to the set.
Methods inherited from Set
empty (abstract), - (abstract), +, ++, incl, incl, -, --, --, excl, excl, intersect, **, map, flatMap, filter
Methods inherited from SortedSet
rangeImpl (abstract), keySet, firstKey, lastKey, from, until, range, subsetOf
Methods inherited from Sorted
to, hasAll
Methods inherited from Set
size (abstract), contains (abstract), apply, isEmpty, *, equals, hashCode, toArray, stringPrefix
Methods inherited from Collection
toString
Methods inherited from Iterable
elements (abstract), concat, ++, 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, projection, hasDefiniteSize
Methods inherited from Function1
compose, andThen
Methods inherited from AnyRef
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Methods inherited from Ranged
compare (abstract)
Method Details
override def ++(elems : Iterable[A]) : SortedSet[A]
Add all the elements provided by an iterator of the iterable object elems to the set.
Parameters
elems - the iterable object containing the elements to be added
Returns
a new set with the elements added.
Overrides
Set.++

override abstract def +(elem : A) : SortedSet[A]
Create a new set with an additional element.
Overrides
Set.+