Difference between revisions of "Adapter"

From CDOT Wiki
Jump to: navigation, search
(Adapter Design Pattern)
(Adapter Design Pattern)
Line 2: Line 2:
  
 
== Adapter Design Pattern ==
 
== Adapter Design Pattern ==
Adapter, a Structural Pattern, is most commmonly used when you want to reuse a class to work with a target class but are constrained by incompatible interfaces.
+
Adapter, a Structural Pattern, is most commmonly used when you want to reuse a class to work with a target class but are constrained by incompatible interfaces. The idea is to convert the interface of a class you want to reuse into an interface that your classes expect.
  
 
== Adapter UML Diagrams ==
 
== Adapter UML Diagrams ==

Revision as of 19:27, 25 February 2007

Adapter Design Pattern

Adapter, a Structural Pattern, is most commmonly used when you want to reuse a class to work with a target class but are constrained by incompatible interfaces. The idea is to convert the interface of a class you want to reuse into an interface that your classes expect.

Adapter UML Diagrams

Code Examples

References

Other

Rueen Fiez
BTP600




--Rueen 19:41, 17 January 2007 (EST)