type | since v0.0-2301 | clojure.lang/ArrayIter | Edit |
(ArrayIter. arr i)
(deftype ArrayIter [arr ^:mutable i]
Object
(hasNext [_] (< i (alength arr)))
(next [_]
(let [ret (aget arr i)]
(set! i (inc i))
ret))
(remove [_] (js/Error. "Unsupported operation")))