|
Scala Library
|
|
trait
SortedSet[A]
extends SortedSet[A] with Set[A]| 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, toSeq, toStream, mkString, mkString, mkString, addString, 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 |
elems to the set.elems - the iterable object containing the elements to be added|
Scala Library
|
|