Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdded adapter pattern and its test case #769
Conversation
I have not seen any Design Patterns commits in this repository before it would be great if those were taken a part from the algorithms repo |
It would be nice to avoid design patterns as this repository is solely for algorithms and DS |
@yanglbme What do you think about this? Creational patterns are already merged into the Development branch. I think it will be good to have them, especially for the Java repo.
|
An Adapter pattern acts as a connector between two incompatible interfaces that otherwise cannot be connected directly. An Adapter wraps an existing class with a new interface so that it becomes compatible with the client’s interface.