Hi! How to convert HashMap<String, String> to Clojure map, sorted-map, tree-map
How far I'm able only to do it with (let [a (HashMap. { "abc" "def"}) ] (zipmap (keys a) (vals a))) Note that HashMap. { ... } is here only as example, cause in fact it is a result from Java method call. What with sorted-map, tree-map and any other types (set, arrays, double dimension arrays)? Is there any brief tutorial showing how to convert any Complex Java type to Clojure type I want do that because I want my data structures immutable. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---