On Fri, Aug 27, 2010 at 2:06 PM, Mike Meyer
<mwm-keyword-googlegroups.620...@mired.org> wrote:
>  (doto (new java.util.HashMap) (.put "a" 1) (.put "b" 2))
> nil

Based on the docs, I was confused by that because I expected a hash
map (with keys a and b). When I ran it locally, I got:

#<HashMap {b=2, a=1}>

which was what I expected.
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

-- 
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

Reply via email to