On Sat, Sep 17, 2011 at 10:58 PM, Eamonn <[email protected]> wrote:
> Hi Meikel
> Thank you for your reply. Is there a way to populate the HashMap
> before passing it to the invoke method
The easiest might be to just pass a map literal (in String form)
through the Clojure reader. Variable integers or other simple objects
can just be incorporated using the Java String + operator; the
concatenation will always start with a string literal such as "{" so
this will work in general. (It's likely keywords etc. will be constant
while numbers might be variable.)
--
Protege: What is this seething mass of parentheses?!
Master: Your father's Lisp REPL. This is the language of a true
hacker. Not as clumsy or random as C++; a language for a more
civilized age.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en