Skip to content

Files

Latest commit

 

History

History

AdapterPattern

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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