(Changed in version 2.8.0) + creates a new set. Use += to add an element to this set and return that set itself.
(Changed in version 2.8.0) + creates a new set. Use += to add an element to this set and return that set itself.
(Changed in version 2.8.0) ++ creates a new set. Use ++= to add elements to this set and return that set itself.
(Changed in version 2.8.0) - creates a new set. Use -= to remove an element from this set and return that set itself.
(Changed in version 2.8.0) - creates a new set. Use -= to remove an element from this set and return that set itself.
(Changed in version 2.8.0) -- creates a new set. Use --= to remove elements from this set and return that set itself.
Thanks to the immutable nature of the underlying Tree, we can share it with the clone.
Thanks to the immutable nature of the underlying Tree, we can share it with the clone. So clone complexity in time is O(1).
(Changed in version 2.8.0) Set.map now returns a Set, so it will discard duplicate values.
(Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.
(Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.
A mutable SortedList heavily based on SortedSet which "is not designed to enable meaningful subclassing".
Based on: https://github.com/scala/scala/blob/3cc99d7/src/library/scala/collection/mutable/TreeSet.scala