Liking cljdoc? Tell your friends :D

oai-clj.util


defbuildercljmacro

(defbuilder sym builder spec)

Map a java builder to a Clojure function that accepts plain maps. A spec generally maps the Clojure key desired to a string name of the Java method. If a vector is given instead of a string, a tuple of [string-java-name fn-1] is expected. This is used to bundle a transformation into a method call. This could be useful for supporting keywords instead of Java enums

Map a java builder to a Clojure function that accepts plain maps. A spec generally
maps the Clojure key desired to a string name of the Java method. If a vector is given instead
of a string, a tuple of [string-java-name fn-1] is expected. This is used to bundle a transformation
into a method call. This could be useful for supporting keywords instead of Java enums
sourceraw docstring

optionalclj

(optional x)

Return the contained value or nil. Acts as an identify function for non Optional types

Return the contained value or nil. Acts as an identify function for non Optional types
sourceraw docstring

streamclj

(stream x)

A helper for converting a value's stream property into a Clojure seq

A helper for converting a value's stream property
into a Clojure seq
sourceraw docstring

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

× close