Liking cljdoc? Tell your friends :D

co.multiply.conc.set

Concurrent set backed by ConcurrentHashMap (JVM) or js/Set (CLJS).

Cross-platform macros for set operations.

Concurrent set backed by ConcurrentHashMap (JVM) or js/Set (CLJS).

Cross-platform macros for set operations.
raw docstring

addclj/smacro

(add set elem)

Add an element to the set.

Returns true if the element was added, false if already present.

Add an element to the set.

Returns true if the element was added, false if already present.
raw docstring

contains?clj/smacro

(contains? set elem)

Check if the set contains an element.

Check if the set contains an element.
raw docstring

forEachclj/smacro

(forEach [sym set] & body)

Iterate over all elements in the set.

Iterate over all elements in the set.
raw docstring

isEmptyclj/smacro

(isEmpty set)

Check if the set is empty.

Check if the set is empty.
raw docstring

iteratorclj/smacro

(iterator set)

Get an iterator over the set.

Get an iterator over the set.
raw docstring

iteratorHasNextclj/smacro

(iteratorHasNext it)

Check if the iterator has more elements.

Check if the iterator has more elements.
raw docstring

iteratorNextclj/smacro

(iteratorNext it)

Get the next element from the iterator.

Get the next element from the iterator.
raw docstring

new-setclj/smacro

(new-set)

Create a new set.

Create a new set.
raw docstring

removeclj/smacro

(remove set elem)

Remove an element from the set.

Returns true if the element was removed, false if not present.

Remove an element from the set.

Returns true if the element was removed, false if not present.
raw docstring

sizeclj/smacro

(size set)

Get the size of the set.

Get the size of the set.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close