Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Adapter Pattern

The adapter pattern converts the interface of a class into an other interface that clients expect.
Useful when slowly deprecating class/methods

The pattern we want to maintain:
Itarget target = new Adapter(new Adaptee());
target. request();

UML diagram:

Alt text