I almost never use Java directly though because there are so many great Clojure wrappers.
(map (fn [x] (* 2 x)) [1 1 2 3 5]) => (2 2 4 6 10)
I almost never use Java directly though because there are so many great Clojure wrappers.