Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
Submit search
EN
Uploaded by
mdimberu
14 views
software Structural design pattern Adapter
design pattern
Software
◦
Read more
0
Save
Share
Embed
Embed presentation
Download
Download to read offline
1
/ 11
2
/ 11
3
/ 11
4
/ 11
5
/ 11
6
/ 11
7
/ 11
8
/ 11
9
/ 11
10
/ 11
11
/ 11
More Related Content
PPT
Adapter pattern
by
Shakil Ahmed
PDF
Adapter Pattern Abhijit Hiremagalur 200603
by
melbournepatterns
PPTX
Structural Design pattern - Adapter
by
Manoj Kumar
PDF
Software and architecture design pattern
by
sanjanakorawar
PPT
Lecture 6 - Adapter.ppt very good concept for adapter
by
talalbsse4832
PPT
Lecture 6 - Adapter.ppt so good for knowledge
by
talalbsse4832
PPTX
UNIT IV DESIGN PATTERNS.pptx
by
anguraju1
PPTX
Structural pattern 3
by
Naga Muruga
Adapter pattern
by
Shakil Ahmed
Adapter Pattern Abhijit Hiremagalur 200603
by
melbournepatterns
Structural Design pattern - Adapter
by
Manoj Kumar
Software and architecture design pattern
by
sanjanakorawar
Lecture 6 - Adapter.ppt very good concept for adapter
by
talalbsse4832
Lecture 6 - Adapter.ppt so good for knowledge
by
talalbsse4832
UNIT IV DESIGN PATTERNS.pptx
by
anguraju1
Structural pattern 3
by
Naga Muruga
Similar to software Structural design pattern Adapter
PPTX
Adapter design pattern
by
manik_114
PPTX
Adapter design pattern
by
Khulna University of Engineering & Tecnology
PPTX
Software Patterns
by
bonej010
ODP
Design Patterns Part1
by
Tom Chen
PDF
Adapter 2pp
by
rajjani
PPTX
Bridge Design Pattern
by
Shahriar Hyder
PPT
Stoop 440-adaptor
by
The World of Smalltalk
PPT
Software Design Patterns
by
Pankhuree Srivastava
PDF
Software Design Patterns. Part I :: Structural Patterns
by
Sergey Aganezov
PPT
Design patterns structuralpatterns(theadapterpattern)
by
APU
PPT
1-unit .How Design Patterns Solve Design Problems
by
CRajeev1
PPT
Adapter Design Pattern
by
melbournepatterns
PPT
Design_Patterns_Dr.CM.ppt
by
C Meenakshi Meyyappan
PPTX
Design patterns
by
Alok Guha
PPTX
Cs 1023 lec 8 design pattern (week 2)
by
stanbridge
PDF
Design patters java_meetup_slideshare [compatibility mode]
by
Dimitris Dranidis
PDF
Micro Anti-patterns in Java Code
by
Ganesh Samarthyam
PPTX
SCD.Gang_of_four_Software_Construction_AND_Devpptx
by
2319961
PPT
Inheritance in java.ppt
by
SeethaDinesh
PPTX
Sda 9
by
AmberMughal5
Adapter design pattern
by
manik_114
Adapter design pattern
by
Khulna University of Engineering & Tecnology
Software Patterns
by
bonej010
Design Patterns Part1
by
Tom Chen
Adapter 2pp
by
rajjani
Bridge Design Pattern
by
Shahriar Hyder
Stoop 440-adaptor
by
The World of Smalltalk
Software Design Patterns
by
Pankhuree Srivastava
Software Design Patterns. Part I :: Structural Patterns
by
Sergey Aganezov
Design patterns structuralpatterns(theadapterpattern)
by
APU
1-unit .How Design Patterns Solve Design Problems
by
CRajeev1
Adapter Design Pattern
by
melbournepatterns
Design_Patterns_Dr.CM.ppt
by
C Meenakshi Meyyappan
Design patterns
by
Alok Guha
Cs 1023 lec 8 design pattern (week 2)
by
stanbridge
Design patters java_meetup_slideshare [compatibility mode]
by
Dimitris Dranidis
Micro Anti-patterns in Java Code
by
Ganesh Samarthyam
SCD.Gang_of_four_Software_Construction_AND_Devpptx
by
2319961
Inheritance in java.ppt
by
SeethaDinesh
Sda 9
by
AmberMughal5
More from mdimberu
PDF
Structure-Decorator deign pattern model fact
by
mdimberu
PDF
Structure-Composite Structure deign pattern model fact
by
mdimberu
PDF
Structure Facade deign pattern model fact
by
mdimberu
PDF
Behave State deign pattern test model fact
by
mdimberu
PDF
design pattern Behavior Visitor model aspect
by
mdimberu
PPT
description of Collections, seaching & Sorting
by
mdimberu
Structure-Decorator deign pattern model fact
by
mdimberu
Structure-Composite Structure deign pattern model fact
by
mdimberu
Structure Facade deign pattern model fact
by
mdimberu
Behave State deign pattern test model fact
by
mdimberu
design pattern Behavior Visitor model aspect
by
mdimberu
description of Collections, seaching & Sorting
by
mdimberu
Recently uploaded
PDF
LogiNext Media Kit & Company Overview 2025
by
priyajoshi2929
PDF
Introducing MySQL HeatWave Migration Assistant
by
Alexander Hitrov
PDF
LogiNext Media Kit & Company Overview 2025
by
smritipatil055
PDF
ChampionMATES – Compete With Friends. Predict Sports. Become the Champion.
by
Rafal Ksiazek
PDF
Own Your Domain Before It Owns You - Domain Driven Design for Pragmaticians
by
Posedio GmbH
PPTX
Applicius Technologies: Full Service Overview for Branding, SEO, Web & App De...
by
appliciustech
PDF
LogiNext Media Kit & Company Overview 2025
by
nidhisharmaq7184
PPTX
Java Spring Boot Development Services in USA
by
davidjohansen1597
PDF
Malware_Detection_A_Framework_for_Reverse_Engineered_Android_Applications_Thr...
by
KiritiyadavGoskula
PDF
V3Cube Innovating Digital Business Solutions
by
V3CUBE TECHNOLABS
DOCX
The Rise of Headless CMS in Modern Web Development.docx
by
work4noahmiller
PDF
Physiotherapist App Development for Modern Rehabilitation
by
V3CUBE TECHNOLABS
PPTX
iufdh gugh w4i rvhdio tj43ko jdi90ft kj32whidglt
by
jeromeschool1976
PPTX
Windows File System Monitoring Tool Using C and C++
by
Akshay Muley
PDF
AI-native development: from Prompt to Platform
by
Maxim Salnikov
PDF
LogiNext Media Kit & Company Overview 2025
by
dhrutipatelk5617
PDF
Smart ways to se AI in your business , presentation
by
AI n Dot Net
PDF
Pet Care Service App Development Company
by
V3CUBE TECHNOLABS
PDF
LogiNext Media Kit & Company Overview 2025
by
sanikaroy72
PDF
Accelerating Data Validation with QuerySurge AI
by
RTTS
LogiNext Media Kit & Company Overview 2025
by
priyajoshi2929
Introducing MySQL HeatWave Migration Assistant
by
Alexander Hitrov
LogiNext Media Kit & Company Overview 2025
by
smritipatil055
ChampionMATES – Compete With Friends. Predict Sports. Become the Champion.
by
Rafal Ksiazek
Own Your Domain Before It Owns You - Domain Driven Design for Pragmaticians
by
Posedio GmbH
Applicius Technologies: Full Service Overview for Branding, SEO, Web & App De...
by
appliciustech
LogiNext Media Kit & Company Overview 2025
by
nidhisharmaq7184
Java Spring Boot Development Services in USA
by
davidjohansen1597
Malware_Detection_A_Framework_for_Reverse_Engineered_Android_Applications_Thr...
by
KiritiyadavGoskula
V3Cube Innovating Digital Business Solutions
by
V3CUBE TECHNOLABS
The Rise of Headless CMS in Modern Web Development.docx
by
work4noahmiller
Physiotherapist App Development for Modern Rehabilitation
by
V3CUBE TECHNOLABS
iufdh gugh w4i rvhdio tj43ko jdi90ft kj32whidglt
by
jeromeschool1976
Windows File System Monitoring Tool Using C and C++
by
Akshay Muley
AI-native development: from Prompt to Platform
by
Maxim Salnikov
LogiNext Media Kit & Company Overview 2025
by
dhrutipatelk5617
Smart ways to se AI in your business , presentation
by
AI n Dot Net
Pet Care Service App Development Company
by
V3CUBE TECHNOLABS
LogiNext Media Kit & Company Overview 2025
by
sanikaroy72
Accelerating Data Validation with QuerySurge AI
by
RTTS
software Structural design pattern Adapter
1.
Adapter-1 © Gunnar Gotshalks Adapter
Pattern – Structural • Intent » Convert the interface of a class into another interface that the client expects. » Lets classes work together that couldn't otherwise
2.
Adapter-2 © Gunnar Gotshalks Class
Adapter –!Motivation • EDITOR expects a SHAPE • TEXT_VIEW is not a SHAPE • TEXT_SHAPE is a SHAPE Reuse TEXT_VIEW in the context of a SHAPE TEXT_VIEW SHAPE TEXT_SHAPE FIGURE_SHAPE EDITOR
3.
Adapter-3 © Gunnar Gotshalks Object
Adapter –!Motivation • EDITOR expects a SHAPE • TEXT_VIEW is not a SHAPE • TEXT_SHAPE is a SHAPE Reuse subclasses of TEXT_VIEW in the context of a SHAPE SHAPE TEXT_SHAPE FIGURE_SHAPE EDITOR TEXT_VIEW TEXT_A TEXT_B
4.
Adapter-4 © Gunnar Gotshalks Adapter
– Applicability • Use an existing class when its interface does not match the one you need • Create a class that cooperates with unrelated or unforeseen classes with incompatible interfaces • Object Adapter Only Need to use several existing subclasses, but it is impractical to adapt by sub-classing each one of them Object adapter adapts the interface of the parent class
5.
Adapter-5 © Gunnar Gotshalks Adapter
– Participants • TARGET Application interface • Client Target user • Adaptee Interface that needs adapting • Adapter – alternative name wrapper Provides functionality not provided by the adaptee ADAPTER ADAPTEE TARGET CLIENT Either relationship (only 1 of them for an ADAPTER) is_a – class adapter has_a – object adapter
6.
Adapter-6 © Gunnar Gotshalks Object
Adapter – Scenario ADAPTER ADAPTEE TARGET CLIENT adaptee : ADAPTEE method_in_target Scenario – collaboration 1 Client does target.method_in_target 2 Adapter does adaptee.method_in_adaptee (note polymorphism) CLIENT TARGET ADAPTEE 1 2
7.
Adapter-7 © Gunnar Gotshalks Adapter
Object – Pseudocode class ADAPTER feature adaptee : ADAPTEE ... method_in_target is pre_actions adaptee . method_in_adaptee post_actions end end end class ADAPTEE feature method_in_adaptee is ... end end end
8.
Adapter-8 © Gunnar Gotshalks Adapter
Object –!Stack Implementation • The Adapter pattern used where stack operations are calls to "equivalent" sequence operations Sequence container; • Push – Uses the Sequence putHead public void push(final Object obj) { container.putHead(obj); } • Pop –!Use the Sequence takeHead public Object pop() { return container.takeHead(); }
9.
Adapter-9 © Gunnar Gotshalks Adapter
– Consequences • There are tradeoffs –!a class adapter – inheritance » adapts Adaptee to Target by committing to concrete Adapter class Class adapter is not useful when we want to adapt a class and all its subclasses » Lets Adapter override some of Adaptee's behaviour Adapter is a subclass of Adaptee » Introduces only one object No additional pointer indirection is needed to get to adaptee
10.
Adapter-10 © Gunnar Gotshalks Adapter
– Consequences – 2 • There are tradeoffs – an object adapter – uses » One Adapter can work with many Adaptees > Adaptee and all its subclasses > Can add functionality to all Adaptees at once » Makes it harder to override Adaptee behaviour Requires making ADAPTER refer to the subclass rather than the ADAPTEE itself Or Subclassing ADAPTER for each ADAPTEE subclass
11.
Adapter-11 © Gunnar Gotshalks Adapter
– Related Patterns • Bridge is similar to object Adapter but Bridge is meant to separate interface from implementation so they can vary independently, while Adapter extends the interface of an existing object • Decorator is more transparent than Adapter, so Decorator supports recursive composition, while Adapter doesn't • Proxy defines a representative for another object and does not change its interface
Download