scala.collection

trait SortedSet

[source: scala/collection/SortedSet.scala]

trait SortedSet[A]
extends Set[A] with SortedSetLike[A, SortedSet[A]]
A sorted set.
Author
Sean McDirmid
Martin Odersky
Version
2.8
Since
2.4
Direct Known Subclasses:
SortedMapLike.DefaultKeySortedSet, SortedSet

Method Summary
override def empty : SortedSet[A]
Needs to be overridden in subclasses.
Methods inherited from SortedSetLike
ordering (abstract), rangeImpl (abstract), keySet, firstKey, lastKey, from, until, range, subsetOf
Methods inherited from Sorted
compare, to, hasAll
Methods inherited from Set
companion
Methods inherited from SetLike
contains (abstract), + (abstract), - (abstract), newBuilder, isEmpty, apply, intersect, &, **, union, |, diff, &~, stringPrefix, toString, hashCode, equals
Methods inherited from Subtractable
-, --, --
Methods inherited from Addable
+, ++, ++
Methods inherited from IterableLike
iterator (abstract), thisCollection, toCollection, elements, foreach, forall, exists, find, foldRight, reduceRight, toIterable, head, take, slice, takeWhile, takeRight, dropRight, copyToArray, zip, zipAll, zipWithIndex, sameElements, toStream, canEqual, view, view, first, firstOption, projection
Methods inherited from GenericTraversableTemplate
genericBuilder, unzip, flatten, transpose
Methods inherited from TraversableLike
repr, nonEmpty, size, hasDefiniteSize, ++, ++, map, flatMap, filter, filterNot, partialMap, remove, partition, groupBy, count, foldLeft, /:, :\, reduceLeft, reduceLeftOption, reduceRightOption, sum, product, min, max, headOption, tail, last, lastOption, init, drop, dropWhile, span, splitAt, copyToBuffer, copyToArray, toArray, toList, toSeq, toIndexedSeq, toSet, mkString, mkString, mkString, addString, addString, addString, withFilter
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
Method Details
override def empty : SortedSet[A]
Needs to be overridden in subclasses.