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

add factory methods for singleton NavigableSet/Map

    Details

      Description

      A DESCRIPTION OF THE PROBLEM :
      Since the singletonMap always contains just one elements, it is trivially sorted. So it should return a SortedMap
      Similarly, the singleton should return a SortedSet instead of a Set.


        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: