适配器模式: 将一个类的接口,转换成客户期望的另一个接口。 适配器让原本接口不兼容的类可以合作无间。 如: 实例: JAVA.IO 转载于:https://www.cnblogs.com/Mr-Wenyan/p/10230624.html