# Adapter: The Interpreter Between Two Strangers

When the hub's routines are written in three brands' words (setPower, release, startStream), every new brand edits every routine; an adapter is a small class that keeps the hub's own promise and passes each call on in the brand's words, so the hub never learns a brand's language.

![Cheat sheet: Adapter: The Interpreter Between Two Strangers](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/53632155745a4f5d90ee088226f123f1.webp)

- Category: Data Structures
- Level: Apprentice
- Tags: Adapter Pattern, Interface, OOP, Polymorphism
- Author: Gregor Dzierzon
- Updated: November 17, 2026

Source: https://www.ask-codey.com/cheat-sheets/dp-adapter-cheat-sheet
