Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added adapter pattern and its test case #769

Merged
merged 3 commits into from
May 29, 2019

Conversation

abhijay94
Copy link
Contributor

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.

@12Manoz
Copy link

12Manoz commented May 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

Copy link

@12Manoz 12Manoz left a 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
Copy link
Contributor Author

@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.

It would be nice to avoid design patterns as this repository is solely for algorithms and DS

@yanglbme yanglbme merged commit 837f635 into TheAlgorithms:Development May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants