Commit Graph

18 Commits

Author SHA1 Message Date
Patrick Concannon
fbe40e8926 8252399: Update mapMulti documentation to use type test pattern instead of instanceof once JEP 375 exits preview
Reviewed-by: dfuchs, psandoz, smarks
2021-03-09 11:09:40 +00:00
Stuart Marks
41dbc139ab 8180352: Add Stream.toList() method
Reviewed-by: psandoz
2020-11-30 19:37:56 +00:00
Stuart Marks
646c20022c 8256152: tests fail because of ambiguous method resolution
Reviewed-by: psandoz
2020-11-18 22:04:18 +00:00
Maurizio Cimadamore
3e70aac5cc 8254162: Implementation of Foreign-Memory Access API (Third Incubator)
Reviewed-by: erikj, psandoz, alanb
2020-11-12 16:37:23 +00:00
Aleksey Shipilev
c28b011121 8255343: java/util/stream/SpliteratorTest.java fails on 32-bit platforms with "Misaligned access at address: 12"
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: mcimadamore
2020-10-26 07:11:44 +00:00
Stuart Marks
d7128e7dac 8254090: Collectors.toUnmodifiableList exposes shared secret
Co-authored-by: Tagir F. Valeev <tvaleev@openjdk.org>
Reviewed-by: psandoz
2020-10-12 17:22:21 +00:00
Patrick Concannon
79d12507b3 8238286: Add new flatMap stream operation that is more amenable to pushing
This patch adds a new flatmap-like operation called mapMulti to the java.util.Stream class as well as the primitive variations of this operation i.e. mapMultiToInt, IntStream mapMulti, etc.

Reviewed-by: psandoz, smarks
2020-08-31 16:12:32 +01:00
Chris Hegarty
f1e1cb7055 8246095: Tweaks to memory access API
Add more user friendly API points to the foreign memory acesss API

Reviewed-by: chegar, psandoz
2020-06-03 16:50:03 +01:00
Chris Hegarty
f3eb44a94d 8243491: Implementation of Foreign-Memory Access API (Second Incubator)
Upstream latest changes of the Foreign-Memory Access API

Co-authored-by: Jorn Vernee <jorn.vernee@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Co-authored-by: Peter Levart <peter.levart@gmail.com>
Reviewed-by: chegar, psandoz
2020-05-25 10:54:39 +01:00
Julia Boes
4dafa3033f 8231161: Wrong return type in code sample in Collector API documentation
Correct declaration of container from R to A and add compilation test

Reviewed-by: smarks, lancea
2019-10-03 18:59:56 +01:00
Tagir Valeev
7c9ab50d06 8205461: Create Collector which merges results of two other collectors
Reviewed-by: briangoetz, smarks, plevart
2018-09-25 14:23:37 +02:00
Lana Steuck
8f528fba93 Merge 2018-01-18 18:58:46 +00:00
Claes Redestad
de4aa804af 8134459: java/util/stream/test/org/openjdk/tests/java/util/stream/WhileOpTest.java timed out
Reviewed-by: psandoz, rriggs
2018-01-10 00:08:46 +01:00
Paul Sandoz
e1e9023545 8075939: Stream.flatMap() causes breaking of short-circuiting of terminal operations
Reviewed-by: forax, smarks
2017-12-21 13:52:20 -08:00
Paul Sandoz
e6680338c5 8193856: takeWhile produces incorrect result with elements produced by flatMap
Reviewed-by: smarks
2017-12-20 11:40:45 -08:00
Paul Sandoz
cc59ccb7d4 8190974: Parallel stream execution within a custom ForkJoinPool should obey the parallelism
Reviewed-by: martin, tvaleev
2017-11-08 10:27:10 -08:00
Chris Dennis
58faa32cfe 8178117: Add public state constructors for Int/Long/DoubleSummaryStatistics
Reviewed-by: psandoz, bpb, briangoetz
2017-04-11 17:25:09 -04:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00