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

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

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: