public class NYPizzaIngredientFactory extends java.lang.Object implements PizzaIngredientFactory
Constructor and Description |
---|
NYPizzaIngredientFactory() |
Modifier and Type | Method and Description |
---|---|
Cheese |
createCheese() |
Clams |
createClam() |
Dough |
createDough() |
Pepperoni |
createPepperoni() |
Sauce |
createSauce() |
Veggies[] |
createVeggies() |
public NYPizzaIngredientFactory()
public Dough createDough()
createDough
in interface PizzaIngredientFactory
public Sauce createSauce()
createSauce
in interface PizzaIngredientFactory
public Cheese createCheese()
createCheese
in interface PizzaIngredientFactory
public Veggies[] createVeggies()
createVeggies
in interface PizzaIngredientFactory
public Pepperoni createPepperoni()
createPepperoni
in interface PizzaIngredientFactory
public Clams createClam()
createClam
in interface PizzaIngredientFactory