scala.collection.mutable.Shrinkable
This trait forms part of collections that can be reduced using a -= operator.
Attributes
- Source
-
Shrinkable.scala
- Graph
-
- Supertypes
-
- Known subtypes
-
Members list
Removes a single element from this shrinkable collection.
Removes a single element from this shrinkable collection.
Value parameters
- elem
-
the element to remove.
Attributes
- Returns
-
the shrinkable collection itself
- Source
-
Shrinkable.scala
Removes all elements produced by an iterator from this shrinkable collection.
Removes all elements produced by an iterator from this shrinkable collection.
Value parameters
- xs
-
the iterator producing the elements to remove.
Attributes
- Returns
-
the shrinkable collection itself
- Source
-
Shrinkable.scala
Removes two or more elements from this shrinkable collection.
Removes two or more elements from this shrinkable collection.
Value parameters
- elem1
-
the first element to remove.
- elem2
-
the second element to remove.
- elems
-
the remaining elements to remove.
Attributes
- Returns
-
the shrinkable collection itself
- Deprecated
-
[Since version 2.13.3] Use `--=` aka `subtractAll` instead of varargs `-=`; infix operations with an operand of multiple args will be deprecated
- Source
-
Shrinkable.scala