|
|
Scala 2.3.3
|
object
Set
extends java.lang.Object
with scala.ScalaObject
scala.collection.Set as well as for + and
-.
Note that abstract immutable.Set's are not covariant in their type
parameter. This is because some subclasses cannot support the
+ method for arbitrary types.| Constructor Summary | |
def
this
|
|
| Def Summary | |
def
apply
[A]
(elems: A*)(view$0: (A) => scala.Ordered[A])
: scala.collection.immutable.Set[A]
The canonical factory for this type |
|
def
empty
[A]
: scala.collection.immutable.EmptySet[A]
The empty set of this type |
|
| Constructor Detail |
| Def Detail |
def
apply
[A](elems: A*)(view$0: (A) => scala.Ordered[A]): scala.collection.immutable.Set[A]
def
empty
[A]: scala.collection.immutable.EmptySet[A]