hg: lambda/lambda/jdk: Break up Streams.java into Streams and StreamSupport

Paul Benedict pbenedict at apache.org
Thu Apr 11 18:15:14 PDT 2013


Brian, here's my opinion on the naming after breaking up Streams into
separate classes. Support is a synonym for utilities, really, and that now
contains just all creation code. What's in Streams is utility methods. Thus
I propose this rename to you:
Streams --> StreamUtils
StreamSupport --> StreamFactoryUtils


On Thu, Apr 11, 2013 at 7:37 PM, <brian.goetz at oracle.com> wrote:

> Changeset: e8eea7e26b32
> Author:    briangoetz
> Date:      2013-04-11 20:37 -0400
> URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/e8eea7e26b32
>
> Break up Streams.java into Streams and StreamSupport
>
> ! src/share/classes/java/io/BufferedReader.java
> ! src/share/classes/java/lang/CharSequence.java
> ! src/share/classes/java/nio/file/DirectoryStream.java
> ! src/share/classes/java/nio/file/Files.java
> ! src/share/classes/java/util/Arrays.java
> ! src/share/classes/java/util/BitSet.java
> ! src/share/classes/java/util/Collection.java
> ! src/share/classes/java/util/regex/Pattern.java
> + src/share/classes/java/util/stream/StreamSupport.java
> ! src/share/classes/java/util/stream/Streams.java
> ! src/share/classes/java/util/zip/ZipFile.java
> ! test-ng/bootlib/java/util/stream/DoubleStreamTestData.java
> ! test-ng/bootlib/java/util/stream/DoubleStreamTestScenario.java
> ! test-ng/bootlib/java/util/stream/IntStreamTestData.java
> ! test-ng/bootlib/java/util/stream/IntStreamTestScenario.java
> ! test-ng/bootlib/java/util/stream/LongStreamTestData.java
> ! test-ng/bootlib/java/util/stream/LongStreamTestScenario.java
> ! test-ng/bootlib/java/util/stream/StreamTestData.java
> ! test-ng/bootlib/java/util/stream/StreamTestScenario.java
> ! test-ng/tests/org/openjdk/tests/java/util/stream/DistinctOpTest.java
> ! test-ng/tests/org/openjdk/tests/java/util/stream/SortedOpTest.java
> !
> test-ng/tests/org/openjdk/tests/java/util/stream/StreamSpliteratorTest.java
> ! test/java/util/stream/Stream/IntStreamTest.java
>
>
>


More information about the lambda-dev mailing list