hg: lambda/lambda/jdk: Eliminate Collector.Of{Int,Long,Double}; make {Int,Long,Double}Statistics top-level classes; add .statistics() methods to {Int,Long,DOuble}Stream; add Collectors.to{ILD}Statistics(mapper); add Collectors.reduce(mapper, reducer); eliminate Collectors.mapper forms; more efficient implementation of {ILD}Stream.average
brian.goetz at oracle.com
brian.goetz at oracle.com
Mon Mar 18 10:27:47 PDT 2013
Changeset: 1a6b75a82fe0
Author: briangoetz
Date: 2013-03-18 13:06 -0400
URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/1a6b75a82fe0
Eliminate Collector.Of{Int,Long,Double}; make {Int,Long,Double}Statistics top-level classes; add .statistics() methods to {Int,Long,DOuble}Stream; add Collectors.to{ILD}Statistics(mapper); add Collectors.reduce(mapper, reducer); eliminate Collectors.mapper forms; more efficient implementation of {ILD}Stream.average
! src/share/classes/java/util/stream/Collector.java
! src/share/classes/java/util/stream/Collectors.java
! src/share/classes/java/util/stream/DoublePipeline.java
+ src/share/classes/java/util/stream/DoubleStatistics.java
! src/share/classes/java/util/stream/DoubleStream.java
! src/share/classes/java/util/stream/IntPipeline.java
+ src/share/classes/java/util/stream/IntStatistics.java
! src/share/classes/java/util/stream/IntStream.java
! src/share/classes/java/util/stream/LongPipeline.java
+ src/share/classes/java/util/stream/LongStatistics.java
! src/share/classes/java/util/stream/LongStream.java
! src/share/classes/java/util/stream/ReduceOps.java
! test-ng/tests/org/openjdk/tests/java/util/stream/ReduceByOpTest.java
! test-ng/tests/org/openjdk/tests/java/util/stream/TabulatorsTest.java
More information about the lambda-dev
mailing list