diff --git a/adapter/README.md b/adapter/README.md index 945de2db0..489742494 100644 --- a/adapter/README.md +++ b/adapter/README.md @@ -35,6 +35,10 @@ Wikipedia says > 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. +Sequence diagram + +![Adapter sequence diagram](./etc/adapter-sequence-diagram.png "Adapter sequence diagram") + ## Programmatic Example of Adapter Pattern in Java The Adapter Pattern example in Java shows how a class with an incompatible interface can be adapted to work with another class. diff --git a/adapter/etc/adapter-sequence-diagram.png b/adapter/etc/adapter-sequence-diagram.png new file mode 100644 index 000000000..a9bb557ea Binary files /dev/null and b/adapter/etc/adapter-sequence-diagram.png differ