Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8238684

Override getOrDefault in immutable Map implementations

    XMLWordPrintable

Details

    Description

      Since null values are disallowed in the java.util immutable maps, we can improve upon the default implementation since a null return from get(key) always means that the default value should be returned.

      Attachments

        Activity

          People

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: