Next: , Up: WeakSet   [Index]


1.219.1 WeakSet: accessing

add: newObject

Add newObject to the set, if and only if the set doesn’t already contain an occurrence of it. Don’t fail if a duplicate is found. Answer newObject

do: aBlock

Enumerate all the non-nil members of the set