hash-code method that returns an integer that does not change while the object is in the set.| remove key/any [--if-absent] -> none | Removes the given key from this instance. |
|---|---|
| add key/any -> none | Adds the given key to this instance. |
| add-all collection/Collection -> none | Adds all elements of the given collection to this instance. |
| do [block] -> none | |
| do --reversed/True [block] -> none | |
| operator == other/Set -> bool | |
| every [predicate] -> bool | |
| copy -> Set | Copies the set. |
| any [predicate] -> bool | |
| reduce [block] -> any | |
| reduce --initial/any [block] -> any | |
| map [block] -> Set | Invokes the given block on each element and returns a new set with the results. |
| filter --in-place/bool= [predicate] -> Set | Filters this instance using the given predicate. |
| intersect --in-place/bool= other/Set -> Set | Intersects this instance with the other set. |
| stringify -> string | |
| get key/any [--if-absent] -> any | Returns an element that is equal to the key. |
| get key/any -> any | Returns an element that is equal to the key. |
| first -> any | The first element of the set by insertion order. |
| last -> any | The last element of the set by insertion order. |
| to-list -> List | Returns a list of the elements of this set. |
| clear -> none | Removes all elements from this instance. |
| size -> int | The number of elements in this instance. |
| is-empty -> bool | Whether this instance is empty. |
| contains key/any -> bool | Whether this instance contains the given key. |
| contains-all collection/Collection -> bool | Whether this instance contains all elements of collection. |
| remove key/any -> none | Removes the given key from this instance. |
| remove-all collection/Collection -> none | Removes all elements of collection from this instance. |