Creates a new collection from this collection with an element removed.
Creates a new collection from this collection with an element removed.
the element to remove
a new collection that contains all elements of the current collection
except one less occurrence of elem
.
The representation object of type Repr
which contains the collection's elements
The representation object of type Repr
which contains the collection's elements
Creates a new collection from this collection with some elements removed.
Creates a new collection from this collection with some elements removed.
This method takes two or more elements to be removed. Another overloaded variant of this method handles the case where a single element is removed.
the first element to remove.
the second element to remove.
the remaining elements to remove.
a new collection that contains all elements of the current collection except one less occurrence of each of the given elements.
Creates a new collection from this collection by removing all elements of another collection.
Creates a new collection from this collection by removing all elements of another collection.
the collection containing the removed elements.
a new collection that contains all elements of the current collection
except one less occurrence of each of the elements of elems
.
Returns string formatted according to given format
string.
Returns string formatted according to given format
string.
Format strings are as for String.format
(@see java.lang.String.format).
This trait represents collection-like objects that can be reduced using a '+' operator. It defines variants of
-
and--
as convenience methods in terms of single-element removal-
.the type of the elements of the collection.
the type of the collection itself
2.8
2.8