Context: |
The requirement for concrete type implementation is already met, but by a non-native type. |
||||||
Challenge: |
To make the different type substitutable within the native interface. |
||||||
Skill: |
|||||||
Participants: |
|
||||||
Signature: |
Adapter references (or contains) Adaptee, representing it. Adapter implements Interface. |
||||||
Used by: |
clients of legacy code. |
||||||
Scope: |
General. (Preferably, languages where late binding is obligatory.) |