tabular-data->map

clojure.contrib.jmx

  • (tabular-data->map td)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/jmx/data.clj:56 top

(defn tabular-data->map [td]
  (into {}
        ; the need for into-array here was a surprise, and may not
        ; work for all examples. Are keys always arrays?
        (map (fn [k]
               [(simplify-tabular-data-key k) (jmx->clj (.get td (into-array k)))])
             (.keySet td))))
Vars in clojure.contrib.jmx/tabular-data->map: defn fn into map
Used in 0 other vars

Comments top

No comments for tabular-data->map. Log in to add a comment.