skip to main | skip to sidebar

Jeff's Junk

Software Development with Java, Ruby, Rails, and other stuff.

Monday, June 12, 2006

Very slick:

Ruby Syntax for Java Maps


Map options = new HashMap() {{
put("key", "value");
put("option", "foo");
put("flag", "bar");
}};
Posted by Jeffrey at 9:06 AM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Random Links

  • Google News (Sci/Tech)

Blog Archive

  • ▼  2006 (26)
    • ▼  June (5)
      • Excellent posting on anti-patterns. SOA Anti-Patte...
      • Rails Performance Improvement suggestions
      • Interesting info. about major websites and they're...
      • Very slick:Ruby Syntax for Java MapsMap options = ...
      • Interesting article on XML gateways, authenticatio...
    • ►  May (10)
    • ►  April (11)

About Me

Jeffrey
View my complete profile