Scala Library
|
|
trait
Subtractable[A, +This <: Subtractable[A, This]]
extends
AnyRefMethod Summary | |
abstract def
|
-
(elem : A) : This
Returns a new collection that contains all elements of the current collection
except a given element.
|
def
|
-
(elem1 : A, elem2 : A, elems : A*) : This
Returns a new collection that contains all elements of the current collection
except a two or more given elements.
|
def
|
--
(iter : Iterator[A]) : This
Returns a new collection that contains all elements of the current collection
except the elements provided by an iterator
|
def
|
--
(elems : Traversable[A]) : This
Returns a new collection that contains all elements of the current collection
except the elements provided by a traversable object
|
protected abstract def
|
repr : This |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
protected abstract
def
repr : This
elem -
the element to remove.elem1 -
the first element to remove.elem2 -
the second element to remove.elems -
the remaining elements to remove.
def
--(elems : Traversable[A]) : This
elems -
the traversable object containing the elements that do not form part of the new collection.elems -
the iterator containing the elements that do not form part of the new collection
Scala Library
|
|