Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

Re: [groovy-user] Safe dereference for nested maps

pexatus

2008-08-24

Replies: Find Java Web Hosting

Author LoginPost Reply


Jochen Theodorou wrote:
>
> pexatus schrieb:
>
> how about:
>
> map.a?.b
>
> bye blackdrag
>
>
>

My example uses Strings so that works for the example, but what if the map
keys are not strings?
--
Sent from the groovy - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.