store/[org.clojure/clojure "1.8.0"] clj::clojure.core/aset-long

Official Documentation

Add notes
Arities
==================================================
   [array idx val]
   [array idx idx2 & idxv]

Docstring
==================================================
  Sets the value at the index/indices. Works on arrays of long. Returns val.

Source

(def-aset
  ^{:doc "Sets the value at the index/indices. Works on arrays of long. Returns val."
    :added "1.0"}
  aset-long setLong long)

Example 1

Edit
;; create an array of 10 longs and set one of the values to 31415
(def ls (long-array 10))
;; => #'user/ls

(vec ls)
;; => [0 0 0 0 0 0 0 0 0 0]

(aset-long ls 3 31415)
;; => 31415

(vec ls)
;; => [0 0 0 31415 0 0 0 0 0 0]

Uses on crossclj