(ArrayList. arr)
(deftype ArrayList [^:mutable arr] Object (add [_ x] (.push arr x)) (size [_] (alength arr)) (clear [_] (set! arr (array))) (isEmpty [_] (zero? (alength arr))) (toArray [_] arr))