Design patterns, as their name implies, are models, paradigms, strategies on how to solve certain recurring design problems. Adapter pattern is a design pattern that lets you use classes with incompatible interfaces or a method that requires or returns a different interface than the one being sent.

The adapter pattern rely on a construct called an adapter. This adapter will permit to transform the data that is being transported from one class/object with a particular interface to another class/object with a different, incompatible interface. …

Anthony Rodriguez

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store