hg: lambda/lambda/jdk: - Remove NodeFactory and have shape-based switching static methods

paul.sandoz at oracle.com paul.sandoz at oracle.com
Wed Feb 13 09:36:07 PST 2013


Changeset: a1258221db82
Author:    psandoz
Date:      2013-02-13 18:30 +0100
URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/a1258221db82

- Remove NodeFactory and have shape-based switching static methods
in Nodes for emptyNode and concNode.
- Replace PipelineHelper.getNodeFactory with makeNodeBuilder
- Move private SliceOp.truncateNode to static method on Nodes.

! src/share/classes/java/util/stream/AbstractPipeline.java
! src/share/classes/java/util/stream/DoublePipeline.java
! src/share/classes/java/util/stream/IntPipeline.java
! src/share/classes/java/util/stream/LongPipeline.java
- src/share/classes/java/util/stream/NodeFactory.java
! src/share/classes/java/util/stream/Nodes.java
! src/share/classes/java/util/stream/PipelineHelper.java
! src/share/classes/java/util/stream/ReferencePipeline.java
! src/share/classes/java/util/stream/SliceOp.java



More information about the lambda-dev mailing list