Glossary: Software Design Patterns in Java
Decorator
Also written: decorator pattern
A wrapper that implements the same interface as the object it wraps, does a little extra work and passes the call on. `LoggedCarrier` logs each quote.
Glossary: Software Design Patterns in Java
Also written: decorator pattern
A wrapper that implements the same interface as the object it wraps, does a little extra work and passes the call on. `LoggedCarrier` logs each quote.