These bindings are created to simplify interaction with java classes from clojure. For each java class was created a separate namespace. Each method/field has its own function/field binding. Their names are changed for a more native look in the clojure code. Each function has docstring - information about the parameters, return value and possible exceptions.
[clojure-interop/apache-commons-math "1.0.0"]
Class Member | Java | Clojure |
---|---|---|
constructor | new File() | (->file) |
instance method | getAnyValue() | (get-any-value) |
instance field | instanceField | (-instance-field) |
static method | staticMethod() | (*static-method) |
static field | ANY_STATIC_FIELD | (*-any-static-field) |
boolean field/method | isExists(), canUse() | (exists?), (can-use?) |
Distributed under the Eclipse Public License, the same as Clojure.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close