Home > Exhibition > Content
Categories
Add: No.3, Tianyang 4th Road, Datianyang Industrial Area, Songgang Town, Baoan District, Shenzhen City, China
Tel: +86-755-33925289
Fax: +86-755-33925292
Mob: +8613128892605
Contacts: Hikin
Email: hikinsong@foxmail.com

Adapter for the adapter pattern

Shenzhen GEO Technology Co.,Ltd | Updated: Aug 23, 2016

In computer programming, the adapter pattern (sometimes known as packaging styles or packages) will be a class interface adapter user expectations. An adapter allows usually incompatible interfaces and classes to work together that won't work together, practice is to wrap the class their interface in a class already in existence.

Adapter pattern is mainly used when methods defined in an interface cannot meet the needs of customers, or method defined in the interface name of the interface or method conflicts with customer demand.

Two types of models: mode-in this mode in the adapter object adapter, adapter to accommodate a my instance of the package class. In this case, the adapter calls the wrapped object the physical entity. class adapter pattern-the adapter mode, the adapter class that inherits from realized (multiple inheritance).

Adapter does not have a data rate conversion feature.