MCPcopy Create free account
hub / github.com/amikey/java-design-patterns / App

Class App

builder/src/main/java/com/iluwatar/builder/App.java:18–38  ·  view source on GitHub ↗

This is the Builder pattern variation as described by Joshua Bloch in Effective Java 2nd Edition. We want to build Hero objects, but its construction is complex because of the many parameters needed. To aid the user we introduce HeroBuilder class. HeroBuilder takes the minimum parameters to build H

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected