---
title: "十四、适配器模式"
author: "bolan392"
date: "2011-11-23T08:45:10Z"
tags: []
categories: ["企业架构"]
slug: "untitled"
draft: false
lastmod: "2011-11-23T08:45:10Z"
id: 1273281
url: "https://bolan392.iteye.com/blog/1273281"
---

适配器模式（adapter）,将一个类的接口转换成客户希望的另外一个接口。Adapter模式使得原本由于接口不兼容而不能一起工作的那些类可以一起工作。