关闭

Design Patterns -- Facade

标签: interfaceapplicationclassjava
665人阅读 评论(0) 收藏 举报
分类:

1. The intent of the FACADE pattern is to provide an interface that makes a subsystem easy to use.

2. A facade class may have all static methods.

3. The JOptionPane class is one of the few examples of a facade in the Java library.

4. In some sense,  Facade limit the way we apply some system.

5. A FACADE lies somewhere between the rechness of a toolkit and the specificity of a particular application.

6. demo&facade: A demo is usually a standalone, nonreusable application that shows one way to apply a subsystem; a facade is usually a configurable, reusable calss with a higher-level interface that makes the subsystem easier to use.

7. Pic:

 

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:221796次
    • 积分:3661
    • 等级:
    • 排名:第9198名
    • 原创:132篇
    • 转载:19篇
    • 译文:1篇
    • 评论:22条
    文章分类
    最新评论
    其他