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

Improve AbstractMap anonymous Iterator classes

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • None
    • core-libs
    • None
    • b20

    Description

      The implementations of the `Iterator` in both `values` and `keySet` could share the same code- base and the variable `i` could be declared `final`.

      Attachments

        Issue Links

          Activity

            People

              pminborg Per-Ake Minborg
              pminborg Per-Ake Minborg
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: