Skip to content

Commit e79f843

Browse files
committed
update readme.md
1 parent 355c493 commit e79f843

1 file changed

Lines changed: 32 additions & 2 deletions

File tree

README.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,32 @@
1-
# DesignPatternsJava9
2-
This repo consists Gang of Four Design patterns code on Java 9. Each branch in the repository has code of 1 design pattern. Switch repository to try out different design patterns.
1+
# What is Adapter Design Pattern
2+
* Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces.
3+
* The Adapter Pattern is also known as Wrapper.
4+
5+
## Diagram
6+
![Diagram](https://github.com/premaseem/DesignPatternsJava9/blob/adapter-pattern/diagrams/4_1%20Adapter%20Design%20Pattern.jpeg "Diagram")
7+
8+
![Diagram](https://github.com/premaseem/DesignPatternsJava9/blob/adapter-pattern/diagrams/4_1%20Adapter%20design%20pattern%20-%20sequence%20diagram.png "Diagram")
9+
10+
11+
### When to use Adapter Design Pattern
12+
When you want to create a reusable class that cooperates with classes which don't have compatible interfaces.
13+
14+
### Learn Design Patterns with Java by Aseem Jain
15+
This repository contains working project code used in video Course by Packt Publication with title "Learn Design Patterns with Java " authored by "Aseem Jain".
16+
17+
### Course link:
18+
https://www.packtpub.com/application-development/learn-design-patterns-java-9-video
19+
20+
### ![ http://in.linkedin.com/in/premaseem](https://github.com/premaseem/DesignPatternsJava9/blob/master/linkedin.png "http://in.linkedin.com/in/premaseem") Profile: http://in.linkedin.com/in/premaseem
21+
22+
### Authors blog on design patterns:
23+
https://premaseem.wordpress.com/category/computers/design-patterns/
24+
25+
### Software Design pattern community face book page:
26+
https://www.facebook.com/DesignPatternGuru/
27+
28+
### Note:
29+
* This code base will work on Java 9 and above versions.
30+
* `diagrams` folders carry UML diagrams.
31+
* `pattern` folder has code of primary example.
32+
* `patternBonus` folder has code of secondary or bonus example.

0 commit comments

Comments
 (0)