Java設計模式 中介者模式

中介者模式 在程序 API 接口調用複雜化的時候可以使用中介模式對程序 API 接口進行管理 中介者接口 public interface Manager { public void register(String taget, Department department); public void call(String taget); } 中介者實現類 public class
相關文章
相關標籤/搜索