- Notifications
You must be signed in to change notification settings - Fork20.8k
Added adapter pattern and its test case#769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
12Manoz commentedMay 27, 2019
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 |
12Manoz left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
It would be nice to avoid design patterns as this repository is solely for algorithms and DS
abhijay94 commentedMay 28, 2019
@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.