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

CompoundElement API cleanup

XMLWordPrintable

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

      CompoundElement was recently refitted to be Iterable; it has vestiges of Iteration support methods, such as `void forEachElement(Consumer<E> consumer)` and `Iterable<E> elements()`. In addition, there are some straightforward implementation improvements unlocked from this cleanup, such as using stream builder on foreach to create stream.

            liach Chen Liang
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: