public class CountingDuckFactory extends AbstractDuckFactory
Constructor and Description |
---|
CountingDuckFactory() |
Modifier and Type | Method and Description |
---|---|
Quackable |
createDuckCall() |
Quackable |
createMallardDuck() |
Quackable |
createRedheadDuck() |
Quackable |
createRubberDuck() |
public CountingDuckFactory()
public Quackable createMallardDuck()
createMallardDuck
in class AbstractDuckFactory
public Quackable createRedheadDuck()
createRedheadDuck
in class AbstractDuckFactory
public Quackable createDuckCall()
createDuckCall
in class AbstractDuckFactory
public Quackable createRubberDuck()
createRubberDuck
in class AbstractDuckFactory