Ruby Syntax for Java Maps
Map options = new HashMap() {{
put("key", "value");
put("option", "foo");
put("flag", "bar");
}};
Software Development with Java, Ruby, Rails, and other stuff.
Map options = new HashMap() {{
put("key", "value");
put("option", "foo");
put("flag", "bar");
}};
No comments:
Post a Comment