(hint-typed-doto type x & forms)
Evaluates x then calls all of the methods and functions with the value of x supplied at the front of the given arguments. The forms are evaluated in order. Returns x. (doto (new java.util.HashMap) (.put "a" 1) (.put "b" 2))
Evaluates x then calls all of the methods and functions with the value of x supplied at the front of the given arguments. The forms are evaluated in order. Returns x. (doto (new java.util.HashMap) (.put "a" 1) (.put "b" 2))
(ns-clean)
(ns-clean ns)
Remove all internal mappings from a given name space or the current one if no parameter given.
Remove all internal mappings from a given name space or the current one if no parameter given.
(set-attributes representation attributes)
call setAttributes(Map<String,String>) method on representation object with a clojure map
call setAttributes(Map<String,String>) method on representation object with a clojure map
(setters m type)
Given a compile-time literal map of attributes and values, return a function that calls the corresponding setters on some java object.
Given a compile-time literal map of attributes and values, return a function that calls the corresponding setters on some java object.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close