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

Allow creation of parallel IntStream & LongStream ranges

    Details

      Description

      A DESCRIPTION OF THE PROBLEM :
      The Java 10 API only creates serial IntStream & LongStream ranges. There are times when parallel range streams would be useful.

      Please add the following static method to both IntStream & LongStream (in java.util.stream):

      public static (Int|Long)Stream range(int startInclusive, int endExclusive, boolean parallel)


        Attachments

          Activity

            People

            • Assignee:
              smarks Stuart Marks
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: