Adapter (design pattern)

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Adapter is a structural design pattern.

Using delegation[edit]

Using inheritance[edit]