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.
| 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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |