hg: lambda/lambda/jdk: Both SortedOp and UniqOp now take into account whether the source is sorted/distinct in the sequential case and sorted/distinct/ordered in the parallel case.
mike.duigou at oracle.com
mike.duigou at oracle.com
Tue Nov 6 12:13:27 PST 2012
Changeset: e045cd5ee294
Author: psandoz
Date: 2012-11-06 12:12 -0800
URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e045cd5ee294
Both SortedOp and UniqOp now take into account whether the source is sorted/distinct in the sequential case and sorted/distinct/ordered in the parallel case.
! src/share/classes/java/util/streams/AbstractPipeline.java
! src/share/classes/java/util/streams/ops/CollectorOps.java
! src/share/classes/java/util/streams/ops/SortedOp.java
! src/share/classes/java/util/streams/ops/UniqOp.java
! test-ng/tests/org/openjdk/tests/java/util/streams/ops/FlagOpTest.java
! test-ng/tests/org/openjdk/tests/java/util/streams/ops/SortedOpTest.java
+ test-ng/tests/org/openjdk/tests/java/util/streams/ops/TestFlagExpectedOp.java
! test-ng/tests/org/openjdk/tests/java/util/streams/ops/UniqOpTest.java
! test-ng/tests/org/openjdk/tests/java/util/streams/ops/UnorderedStreamTest.java
More information about the lambda-dev
mailing list