![]() It is a bridge between two existing interfaces. ![]() An adapter accomplishes this by transforming the input meant for Interface A into compatible input for Interface B. ![]() DefinitionĪdapter: An adapter allows code that has been designed for compatibility with one interface to be compatible with another. The adapter pattern and wrappers are two very useful tools and you can benefit from having them properly labeled in your toolbox. Both terms seem to be used interchangeably when in fact there are a few key differences. Their common usage and similarities in implementation, however, can lead to confusion. The adapter pattern and wrappers each solve common but distinct problems. The Difference Between An Adapter And A Wrapper
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |