外观模式 Facade模式 为一组具有相似功能的类群,比如类库、子系统等等,提供一个一致的简单的界面 代码分析 /** * 子系统 A */ public class SystemA { public void doSomeThing(){ System.out.println("这是A系统的功能..."); } } /** * 子系统 B */ public class SystemB { public void doSomeThing(){ System.out.println("…
一 | 二 | 三 | 四 | 五 | 六 | 日 |
---|---|---|---|---|---|---|
« 3月 | ||||||
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
COPYRIGHT © 2020 良夜的博客. ALL RIGHTS RESERVED.
This blog has been running:
本站由
This site is protected by wp-copyrightpro.com