Applied Design Patterns with Java
Structural :: Adapter (137) {C ch 9}
Examples - UML : JTwoList and JTwoClassList
Example - Java :: Patterns\Structural\Adapter
Pattern Concept: to convert the programming interface of one class into that of another. This can be done either by inheritance (class adapters, JTwoClassList example) or by composition (object adapters, JTwoList example).
Issues of the Adapter pattern include:
The example Java programs are called 'JTwoList' and 'JTwoClassList'.
The UML diagrams are above, and the list of Java files
is below:
Catalog