MCPcopy Create free account
hub / github.com/Anchals24/Low-Level-Design / prepare

Method prepare

AbstractFactoryPattern/ClamPizza.java:13–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 }
12
13 @Override
14 void prepare() {
15 System.out.println();
16 dough = ingredientFactory.createDough();
17 sauce = ingredientFactory.createSauce();
18 cheese = ingredientFactory.createCheese();
19 }
20}

Callers

nothing calls this directly

Calls 3

createDoughMethod · 0.65
createSauceMethod · 0.65
createCheeseMethod · 0.65

Tested by

no test coverage detected