(has-method method class)Checks to see if any given method exists in a particular class
(has-method without-method String) => nil
(has-method without-method clojure.lang.PersistentArrayMap) => clojure.lang.PersistentArrayMap
Checks to see if any given method exists in a particular class
(has-method without-method
String)
=> nil
(has-method without-method
clojure.lang.PersistentArrayMap)
=> clojure.lang.PersistentArrayMap(has-overridden-method method class)Checks to see that the method can be
(has-overridden-method without-method String) => nil
(has-overridden-method without-method clojure.lang.IPersistentMap) => clojure.lang.IPersistentMap
Checks to see that the method can be (has-overridden-method without-method String) => nil (has-overridden-method without-method clojure.lang.IPersistentMap) => clojure.lang.IPersistentMap
(methods-with-same-name-and-count method class)methods-with-same-name-and-count
(methods-with-same-name-and-count without-method clojure.lang.IPersistentMap) => #(-> % count (= 1)) ;; (nil)
methods-with-same-name-and-count (methods-with-same-name-and-count without-method clojure.lang.IPersistentMap) => #(-> % count (= 1)) ;; (nil)
(origins method)(origins method bases)(origins method [[super interfaces :as pair] & more] currents)Lists all the classes tha contain a particular method
(def without-method (-> clojure.lang.PersistentArrayMap (.getDeclaredMethod "without" (into-array [Object]))))
(origins without-method) => [clojure.lang.IPersistentMap clojure.lang.PersistentArrayMap]
Lists all the classes tha contain a particular method
(def without-method
(-> clojure.lang.PersistentArrayMap
(.getDeclaredMethod "without"
(into-array [Object]))))
(origins without-method)
=> [clojure.lang.IPersistentMap
clojure.lang.PersistentArrayMap]cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |