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

Specialized implementations for putIfAbsent, merge, compute* methods in TreeMap derived maps

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • None
    • core-libs
    • None

      Specialized implementations for putIfAbsent, merge, compute, computeIfAbsent and computeIfPresent in TreeMap class were created (JDK-8176894). However, derived maps like TreeMap.descendingMap(), TreeMap.subMap(), TreeMap.headMap(), etc. still have default implementation. It looks fairly straightforward to provide these implementations.

            tvaleev Tagir Valeev
            tvaleev Tagir Valeev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: