Pattern ADAPTER (cont.)
Solution
Define an
adapter
class that implements the target i/f
Adapter class translates target functions to adaptee functions
The client wraps the adaptee into an adapter class object
prev
|
top
|
next