If i want to call java methodes or fields in clojure i can use the dot special form, since clojure strings are implemented as java strings i think i should be able to call the String methodes of java by something like (.toUpperCase "clojure") which works. My question is why can i not access to all of the java Methods in the same manner? For example (.valueOf 3) which is this static method gives me an error.
-
possible duplicate of How can I call a java static method in clojure?Viktor K.– Viktor K.2015-09-29 10:15:53 +00:00Commented Sep 29, 2015 at 10:15
Add a comment
|