Add the given element to this set.
Remove the given element from this set.
Does the given element belong to this set?
Does the given element belong to this set?
Remove all elements in this set.
Does the given element belong to this set?
Return the number of elements in this set, including reclaimed elements.
(Since version 2.10.0) Use leftOfArrow instead
(Since version 2.10.0) Use resultOfEnsuring instead
A bare-bones implementation of a mutable
Set
that uses weak references to hold the elements.This implementation offers only add/remove/test operations, therefore it does not fulfill the contract of Scala collection sets.