Wrapper vs Adapter - What's the difference?
wrapper | adapter |
Something that is wrapped around something else as a cover or protection: a wrapping.
An outer garment; a loose robe or dressing gown.
*1839 , (Edgar Allan Poe), ‘William Wilson’:
*:‘Please to examine, at your leisure, the inner linings of the cuff of his left sleeve, and the several little packages which may be found in the somewhat capacious pockets of his embroidered morning wrapper .’
One who, or that which, wraps.
(computing) A construct, such as a class or module, that serves to mediate access to another.
One who is capable of adapting well to differing situations.
One who adapts a thing, e.g. a play.
A device or application used to achieve operative compatibility between devices that otherwise are incompatible.
* '>citation
# Specifically, a device that permits two, three, or more plugs to be used at a single electrical power point.
# Specifically, a device that allows one format of plug to be used with a different format of socket.
# Specifically, an AC-adaptor: a device that reduces voltage and converts AC to DC to allow a battery-powered device to use mains power.
As nouns the difference between wrapper and adapter
is that wrapper is something that is wrapped around something else as a cover or protection: a wrapping while adapter is adapter (device to allow compatibility).wrapper
English
Noun
(en noun)- He proved to be a remarkably efficient wrapper of parcels.
- We need a Perl wrapper for this C++ library.
Synonyms
* (construct that mediates access) * wrapper classUsage notes
* In the computing sense, is often used attributively: one can speak of a “wrapper class”, a “wrapper object”, a “wrapper function”, and so on. More broadly, one can speak of the “wrapper pattern”, which is a general term for the creation and use of such wrappers.adapter
English
(wikipedia adapter)Alternative forms
* (l)Noun
(en noun)- He was an able adapter , and could easily adjust to the differences when the company changed ownership.
- The critic gave rave reviews to the adapter of the ancient play, who worked to give the text more relevance to the modern day.
- He had an adapter that let him plug his phone into the car's cigarette lighter for power.
- The wall outlet sprouted an electrical monstrosity of adapters''' plugged into '''adapters that sparked ominously.
- We bought adapters to use our three-prong plugs in the two-prong, unpolarized outlets of the old house.
- I lost my cellphone's adaptor so I couldn't recharge it.