SE450: The ADAPTER Pattern [4/55] Previous pageContentsNext page

Context

  1. You want to use an existing class (adaptee) without modifying it.
  2. The context in which you want to use the class requires target interface that is different from that of the adaptee.
  3. The target interface and the adaptee interface are conceptually related.

Previous pageContentsNext page