type | since v0.0-2371 | Edit |
(PersistentArrayMapIterator. arr i cnt)
(deftype PersistentArrayMapIterator [arr ^:mutable i cnt]
Object
(hasNext [_]
(< i cnt))
(next [_]
(let [ret (MapEntry. (aget arr i) (aget arr (inc i)) nil)]
(set! i (+ i 2))
ret)))