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

Add new flatMap stream operation that is more amenable to pushing

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16
    • Component/s: core-libs
    • Labels:
      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

              Assignee:
              pconcannon Patrick Concannon
              Reporter:
              pconcannon Patrick Concannon
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: