Generic primitive array backed array-lists. The pure clojure implementations are a bit slower than the java ones but far less code so these are used for the less-frequently-used primive datatypes - byte, short, char, and float.
Generic primitive array backed array-lists. The pure clojure implementations are a bit slower than the java ones but *far* less code so these are used for the less-frequently-used primive datatypes - byte, short, char, and float.
(extend-array-types)
(implement-tostring-print tname)
(make-prim-array-list lname
ary-tag
iface
getname
setname
addname
set-cast-fn
get-cast-fn
obj-cast-fn
add-all-reduce)
(wrap-array ary)
Wrap an array with an implementation of IMutList
Wrap an array with an implementation of IMutList
(wrap-array-growable ary)
(wrap-array-growable ary ptr)
Wrap an array with an implementation of IMutList that supports add and addAllReducible. 'ptr is the numeric put ptr, defaults to the array length. Pass in zero for a preallocated but empty growable wrapper.
Wrap an array with an implementation of IMutList that supports add and addAllReducible. 'ptr is the numeric put ptr, defaults to the array length. Pass in zero for a preallocated but empty growable wrapper.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close