Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-475

BeanUtils and Maps

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Nightly Builds
    • BeanUtils2
    • None

    Description

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

      Map<String, ...> map = ...
      on(map).get("mykey").get();
      

      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.

      Attachments

        Activity

          People

            britter Benedikt Ritter
            britter Benedikt Ritter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: