Computer scienceFundamentalsEssentialsSoftware constructionDesign patternsStructural design patterns

Adapter pattern

Adapter algorithm

Report a typo

Sort the algorithm of the adapter pattern process:

Put the items in the correct order
The interface allows a new object to make a request to existing objects by accessing adapter methods
We create an adapter compatible through the interface with our existing object
We pass our initial request to the adapter and the adapter converts it to a suitable format for the second object
___

Create a free account to access the full topic