Design Problems
-
Class Adapter (Compile-Time Adaptation)
-
How can a class be reused that has not the interface
clients require?
-
How can classes work together
that have incompatible interfaces?
-
How can an alternative interface be provided
for a class?
-
Object Adapter (Run-Time Adaptation)
-
How can an object be reused that has not the interface
clients require?
-
How can objects work together
that have incompatible interfaces?
-
How can an alternative interface be provided
for an object?