;; *** before: ***
;; a Java method could not be passed around directly - it had
;; to be wrapped in a fn every time it was used as a value
(map (fn [s] (Integer/parseInt s)) ["1" "2" "3"])
;=> (1 2 3)
;; *** in version 1.12: ***
;; a qualified method used outside of call position is a value -
;; the compiler builds the wrapping function for you
(map Integer/parseInt ["1" "2" "3"])
;=> (1 2 3)
;; Classname/.method and Classname/new work the same way for
;; instance methods and constructors
(map String/.toUpperCase ["a" "b"])
;=> ("A" "B")