(construct class & args)
Construct a new instance of class using reflection.
Construct a new instance of class using reflection.
(invoke-private instance method & params)
Invoke a private or protected Java method. Be very careful when using this! I take no responsibility for the trouble you get yourself into.
Invoke a private or protected Java method. Be very careful when using this! I take no responsibility for the trouble you get yourself into.
(multi-hinted-let [name expr classes] & body)
Test expr for instance-of each class in classes. When a match is found, evaluate body with name bound to expr and type-hinted as the matching class.
For example, (multi-hinted-let [x {:foo 1} [Collection Map]] (.size x)).
Test expr for instance-of each class in classes. When a match is found, evaluate body with name bound to expr and type-hinted as the matching class. For example, (multi-hinted-let [x {:foo 1} [Collection Map]] (.size x)).
(on-shutdown f)
Execute the given function on jvm shutdown.
Execute the given function on jvm shutdown.
(trap signal f)
Register signal handling function.
Register signal handling function.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close