CSC/ECE 517 Fall 2012/ch2b 2w47 am

From Expertiza_Wiki
Revision as of 04:39, 18 November 2012 by Aspalana (talk | contribs)
Jump to navigation Jump to search

Adapter Pattern, a directory of sites

This wiki page provides a directory of sites for Adapter Design Pattern that will help readers to know what each website contains, why should readers refer one website over another and a list of examples that readers can look up to understand the Adapter Pattern.

Introduction

Sometimes, objects just don't fit together as they should. A class may have changed, or an object turns out to be just too difficult to work with. At such times, adapter design pattern comes to the rescue. Adapter pattern lets you adapt what an object or class has to offer so that another object or class can make use of it. It also helps when classes can't work together because of incompatible interfaces.

A real world example for the Adapter Pattern.