hg: lambda/lambda/jdk: Simplify TerminalSink and AccumulatingSink protocols; replace explicit clear-state calls with more aggressive nulling of intermediate containers

brian.goetz at oracle.com brian.goetz at oracle.com
Fri Feb 22 13:59:44 PST 2013


Changeset: f2d99a1cee33
Author:    briangoetz
Date:      2013-02-22 16:59 -0500
URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/f2d99a1cee33

Simplify TerminalSink and AccumulatingSink protocols; replace explicit clear-state calls with more aggressive nulling of intermediate containers

! src/share/classes/java/util/stream/DistinctOp.java
! src/share/classes/java/util/stream/FindOp.java
! src/share/classes/java/util/stream/ForEachOp.java
! src/share/classes/java/util/stream/OpUtils.java
! src/share/classes/java/util/stream/ReduceOp.java
! src/share/classes/java/util/stream/TerminalSink.java



More information about the lambda-dev mailing list