(apply-element obj method args)
apply the class element to arguments
(->> (apply-element "123" "value" []) (map char)) => [ ]
apply the class element to arguments (->> (apply-element "123" "value" []) (map char)) => [ ]
(get-element-lookup obj)
returns the element in the lookup adding it if it is not there
(->> (get-element-lookup "123") (keys)) => ("getChars" "trim" ... "finalize" "indexOfSupplementary")
returns the element in the lookup adding it if it is not there (->> (get-element-lookup "123") (keys)) => ("getChars" "trim" ... "finalize" "indexOfSupplementary")
(instance-lookup tcls)
(instance-lookup tcls icls)
creates a lookup table for all methods and fields of an object or class
(instance-lookup Class String) => map?
(instance-lookup CharSequence String) => map?
(instance-lookup CharSequence nil) => map?
creates a lookup table for all methods and fields of an object or class (instance-lookup Class String) => map? (instance-lookup CharSequence String) => map? (instance-lookup CharSequence nil) => map?
(instance-lookup-path ele)
gives the parameters of the lookup
(->> (query/all-instance-elements String String) (first) (instance-lookup-path )) ;=> ["clone" :method 1 [java.lang.Object]]
gives the parameters of the lookup (->> (query/all-instance-elements String String) (first) (instance-lookup-path )) ;=> ["clone" :method 1 [java.lang.Object]]
(object-lookup obj)
creates a lookup table for all methods and fields of an object
(object-lookup String) => map?
(object-lookup "123") => map?
creates a lookup table for all methods and fields of an object (object-lookup String) => map? (object-lookup "123") => map?
(refine-lookup lu)
returns the element in the lookup adding it if it is not there
(->> (object-lookup "123") (refine-lookup) (sort) (first)) ;=> ["charAt" #[charAt :: (java.lang.String, int) -> char]]
returns the element in the lookup adding it if it is not there (->> (object-lookup "123") (refine-lookup) (sort) (first)) ;=> ["charAt" #[charAt :: (java.lang.String, int) -> char]]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close