Liking cljdoc? Tell your friends :D

yang.java


-mapToEdnclj

(-mapToEdn m)
source

-toFunclj

(-toFun fun)
source

instance-methodclj

(instance-method obj method-name)
(instance-method obj method-name args)
source

jfun->funclj

(jfun->fun fun)

convert a Java function to a Clojure fn so it can be later composed together with other Clojure functions

convert a Java function to a Clojure fn
so it can be later composed together with other Clojure functions
sourceraw docstring

map->ednclj

(map->edn m)

often needed for to pass EDN maps to Clojure libs from Java => (def m (java.util.HashMap. {"crux.id/foo" {"crux.db/bar" "baz"} "crux.asnwer/life" 42})) => (map->edn m) {:crux.id/foo #:crux.db{:bar "baz"}, :crux.asnwer/life 42}

often needed for to pass EDN maps to Clojure libs from Java
=> (def m (java.util.HashMap. {"crux.id/foo" {"crux.db/bar" "baz"} "crux.asnwer/life" 42}))
=> (map->edn m)
{:crux.id/foo #:crux.db{:bar "baz"}, :crux.asnwer/life 42}
sourceraw docstring

private-fieldclj

(private-field obj field)
source

private-methodclj

(private-method obj method & args)
source

static-methodclj

(static-method clazz method params)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close