Skip to content

Commit faea74a

Browse files
committed
docs: add adapter sequence diagram
1 parent 356db48 commit faea74a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

adapter/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ Wikipedia says
3535

3636
> In software engineering, the adapter pattern is a software design pattern that allows the interface of an existing class to be used as another interface. It is often used to make existing classes work with others without modifying their source code.
3737
38+
Sequence diagram
39+
40+
![Adapter sequence diagram](./etc/adapter-sequence-diagram.png "Adapter sequence diagram")
41+
3842
## Programmatic Example of Adapter Pattern in Java
3943

4044
The Adapter Pattern example in Java shows how a class with an incompatible interface can be adapted to work with another class.
27 KB
Loading

0 commit comments

Comments
 (0)