Skip to content

Glossary: Software Design Patterns in Java

Builder

Also written: builder pattern

A pattern where a helper object collects an object's parts one call at a time, then checks them and makes the finished object in `build()`. `OrderBuilder` refuses to build an order with no items.

Where the book teaches it

Related terms

Method chainingCreational pattern