Posts

Showing posts from May, 2020

Application of the Builder Pattern

Image

Enforce non-instantiability with private constructors

Image

Use Java enum to create Singletons

Image

Using Builder Pattern with Class Hierarchies

Image

Static Factory Method

Image

The Builder Pattern (using immutability)

Image