Liking cljdoc? Tell your friends :D

com.rpl.vector-backed-sorted-map


apv-fast-nthclj

(apv-fast-nth v idx)

check-integrity!clj

(check-integrity! vbsm)

Make sure the vbsm is actually in sorted order. Throws an exception if it's not.

Make sure the vbsm is actually in sorted order. Throws an exception if it's not.
raw docstring

ensure-vbsmclj

(ensure-vbsm maybe-vbsm)
(ensure-vbsm maybe-vbsm comparator)

merge-sorted-largeclj

(merge-sorted-large vbsm1 vbsm2)
(merge-sorted-large vbsm1 vbsm2 f)

merge-sorted-optimalclj

(merge-sorted-optimal vbsm1 vbsm2)
(merge-sorted-optimal vbsm1 vbsm2 f)

merge-sorted-smallclj

(merge-sorted-small vbsm1 vbsm2)
(merge-sorted-small vbsm1 vbsm2 f)

read-only-vector-backed-sorted-mapclj

(read-only-vector-backed-sorted-map kv-pairs-vec)
(read-only-vector-backed-sorted-map comparator kv-pairs-vec)

Create a SortedMap implementation backed by a vector of K-V pairs. Creation of this map from an already-sorted vector of pairs is O(1). Lookups are O(log n). assoc / dissoc are not allowed.

Create a SortedMap implementation backed by a vector of K-V pairs. Creation
of this map from an already-sorted vector of pairs is O(1). Lookups are
O(log n). assoc / dissoc are not allowed.
raw docstring

vector-backed-sorted-mapclj

(vector-backed-sorted-map kv-pairs-vec)
(vector-backed-sorted-map comparator kv-pairs-vec)

Create a SortedMap implementation backed by a vector of K-V pairs. Creation of this map from an already-sorted vector of pairs is O(1). Lookups are O(log n) if the map is never modified; assoc / dissoc calls modify a standard (sorted-map) overlay which is queried first.

Create a SortedMap implementation backed by a vector of K-V pairs. Creation
of this map from an already-sorted vector of pairs is O(1). Lookups are
O(log n) if the map is never modified; assoc / dissoc calls modify a standard
(sorted-map) overlay which is queried first. 
raw docstring

VectorizableMapcljprotocol

get-comparatorclj

(get-comparator this)

vectorizeclj

(vectorize this)

vectorize-fromclj

(vectorize-from this k)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close