|
Scala
1.4.0.3 |
|||
Method Summary | |
override
|
def +(e: A): ListSet[A]
This method creates a new set with an additional element. |
override
|
def -(e: A): ListSet[A]
- can be used to remove a single element from
a set.
|
override
|
def contains(e: A): Boolean
Checks if this set contains element elem .
|
override
|
def hashCode(): Int
hashcode for this set |
override
|
def isEmpty: Boolean
Checks if this set is empty. |
override
|
def size: Int
Returns the number of elements in this set. |
override
|
def toList: List[A]
Transform this set into a list of all elements. |
Methods inherited from java/lang/Object-class |
clone, eq, finalize, getClass, ne, notify, notifyAll, synchronized, wait, wait, wait |
Methods inherited from scala/Any-class |
!=, ==, asInstanceOf, isInstanceOf, match |
Methods inherited from scala/Iterable-class |
/:, :\, concat, exists, find, foldLeft, foldRight, forall, foreach, sameElements |
Methods inherited from scala/ScalaObject-class |
getScalaType |
Methods inherited from scala/collection/Set-class |
apply, subsetOf, toString |
Methods inherited from scala/collection/immutable/ListSet-class |
Node, elements, equals |
Methods inherited from scala/collection/immutable/Set-class |
excl, excl, filter, incl, incl, intersect |
Method Detail |
override def size: Int
override def isEmpty: Boolean
override def contains(e: A): Boolean
elem
.
elem
-
the element to check for membership.
elem
is contained in this set.
override def +(e: A): ListSet[A]
override def -(e: A): ListSet[A]
-
can be used to remove a single element from
a set.
override def toList: List[A]
override def hashCode(): Int
|
Scala
1.4.0.3 |
|||