Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
I would like to see some syntatic sugar for Maps and Collections and perhaps other Objects too.
(I have read that there will be a syntax for map literals in 1.5, that's a first step.)
I want to have something like in groovy: http://groovy.codehaus.org/Collections
Scroll down to "Slicing with the subscript operator".
PS: Please do never implement this terrible confusing groovy map bean syntax, where "map.foo" ist equivalent to "map.get("foo")".