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

Add new flatMap stream operation that is more amenable to pushing

XMLWordPrintable

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

      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`.

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

              Created:
              Updated:
              Resolved: