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

Add new flatMap stream operation that is more amenable to pushing

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 16
    • core-libs
    • None

    Description

      Add a new `Stream` operation `<R> Stream<R> flatMap(BiConsumer<T, Consumer<R>> fPusher)` to `Stream` API. This operation would be more receptive to yielding of values as opposed to the current implementation that assembles values (if any) into a `Stream`.

      Attachments

        Issue Links

          Activity

            People

              pconcannon Patrick Concannon (Inactive)
              pconcannon Patrick Concannon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: