| Package | Description |
|---|---|
| headfirst.combining.decorator |
| Modifier and Type | Class and Description |
|---|---|
class |
DecoyDuck |
class |
DuckCall |
class |
GooseAdapter |
class |
MallardDuck |
class |
QuackCounter |
class |
RedheadDuck |
class |
RubberDuck |
| Modifier and Type | Field and Description |
|---|---|
(package private) Quackable |
QuackCounter.duck |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
DuckSimulator.simulate(Quackable duck) |
| Constructor and Description |
|---|
QuackCounter(Quackable duck) |