Adapter (cont’d)
Consequences
- target can work unchanged with different adaptees
- less interface coupling, increased reusability
Implementation
- pluggable adapters reduce subclassing
- parameterize Adapter with different behavior
Known Uses:
- Smalltalk VisualWorks
- PluggableAdapter for ValueModels
- TableAdapter
- RangeAdapter