On this page
Trait scala.collection.mutable.Shrinkable
trait Shrinkable[-A]
This trait forms part of collections that can be reduced using a -=
operator.
Supertypes | |
---|---|
Known subtypes |
38 types |
Abstract methods
Source
def subtractOne(elem: A): Shrinkable[A]
Removes a single element from this shrinkable collection.
Value parameters |
|
---|---|
Returns | the shrinkable collection itself |
Concrete methods
Source@inline
Alias for subtractAll
Source@inline
final def -=(elem: A): Shrinkable[A]
Alias for subtractOne
Source
Removes all elements produced by an iterator from this shrinkable collection.
Value parameters |
|
---|---|
Returns | the shrinkable collection itself |
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.1.1/scala/collection/mutable/Shrinkable.html