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

(coll spec) TreeMap's use of Comparator to remove keys

XMLWordPrintable

      A DESCRIPTION OF THE REQUEST :
      The javadocs should notify that if the Comparator is given to TreeMap, the comparator is used also in removing keys.

      Now it says

      Removes the mapping for this key from this TreeMap if present.

      It shoulds say ex:

      Removes the mapping for this key using Comparator if it is defined in Constructor.

       



      JUSTIFICATION :
      It is nice to tell how the class is really working not just copying javadoc from interface
      ###@###.### 2005-05-24 05:57:28 GMT

            Unassigned Unassigned
            jssunw Jitender S (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: