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

Allow creation of parallel IntStream & LongStream ranges

XMLWordPrintable

      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)


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

              Created:
              Updated:
              Resolved: