Design patterns - Adapter Pattern

1,447 views

Published on

This presentation is part of the Design Pattern Series. Presentation explains the use of Adapter Pattern comparing it against a real life situation and then showcasing the Java implementation of the same.

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,447
On SlideShare
0
From Embeds
0
Number of Embeds
28
Actions
Shares
0
Downloads
41
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Design patterns - Adapter Pattern

  1. 1. QmPe initiativeADAPTER PATTERN explained ! Prepared by Annamalai C Copyright 2006-2011
  2. 2. Adapter Pattern in Real LifeOne to Many :: One Charge can charge Many MobilesTherefore we conclude this Charge is AdaptableSimilar is Adapter Pattern. This is a Structural Pattern. Copyright 2006-2011
  3. 3. Strategy Pattern in Java Copyright 2006-2011
  4. 4. Real Life vs Java Object Copyright 2006-2011
  5. 5. Real Life vs Java Object Copyright 2006-2011
  6. 6. How Adapter Pattern works in Real Life ?Boss decides to arrange and store the files.Strategy is then decided based on Cost, Durability etc. Copyright 2006-2011
  7. 7. How Strategy Pattern works in Java ? Copyright 2006-2011
  8. 8. THANK YOU Please visitwww.eclipseinclips.com | www.ancitconsulting.com Write to us on info@ancitconsulting.com QmPe initiative Copyright 2006-2011

×