Builder Pattern: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:


=Overview=
=Overview=
There are a series of ''intermediate operations'' followed by a <tt>build()</tt> terminal operation invocation.


The Java 8 Streams API uses a concept similar to the builder pattern to implement [[Java_8_Streams_API#Intermediate_Operations|intermediate operations]].
The Java 8 Streams API uses a concept similar to the builder pattern to implement [[Java_8_Streams_API#Intermediate_Operations|intermediate operations]].

Revision as of 18:23, 27 March 2018

External

Internal

Overview

There are a series of intermediate operations followed by a build() terminal operation invocation.

The Java 8 Streams API uses a concept similar to the builder pattern to implement intermediate operations.