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

HashMap/IdentityHashMap should implement forEach(BiConsumer<? super K, ? super V> action)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • None
    • core-libs
    • None

      HashMap/IdentityHashMap use the default forEach method on Map but could provide more optimal implementations e.g. copied from the Spliterator.forEachRemaining implementations.

      Other map implementations are also be relevant, such as LinkedHashMap and ConcurrentHashMap.

            mduigou Mike Duigou
            psandoz Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: