commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SANDBOX-475) BeanUtils and Maps
Date Sat, 03 May 2014 13:17:15 GMT
Benedikt Ritter created SANDBOX-475:
---------------------------------------

             Summary: BeanUtils and Maps
                 Key: SANDBOX-475
                 URL: https://issues.apache.org/jira/browse/SANDBOX-475
             Project: Commons Sandbox
          Issue Type: New Feature
          Components: BeanUtils2
            Reporter: Benedikt Ritter


BeanUtils1 provided the functionality to access maps as if they where beans. Implement the
same for BeanUtils2 so that one can do:

{code:java}
Map<String, ...> map = ...
on(map).get("mykey").get();
{code}

this would result in getting the value thats held under "mykey" in the map. Implementing this
probably involves creating a new BeanAccessor implementation that works on maps.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message