Adapter Pattern

Real-World Example

Problem (why Adapter is needed)

You have:

  • a new interface your client expects
  • you cannot change the legacy code

Types

Code Example

Comparisons

Resources