<<< Abstract Adapter | Index | Bridge Sample >>> |
Problem to solve:
Application object needs an interface to another object.
However, concrete object that implements the interface is not known at design time...
...because the type of concrete object depends on excution environment, operating system type, hardware present, etc., etc.
Solution:
Decouple an abstraction (the interface) from its implementation, so that both can vary independently.
<<< Abstract Adapter | Index | Bridge Sample >>> |