会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
lnlvinso
博客园
首页
新随笔
联系
订阅
管理
2014年8月11日
装饰模式(Decorator)
摘要: 装饰模式(Decorator)最常见的就是JDK中的关于I/O流的处理。 DataInputStream dis = new DataInputStream(new BufferedInputStream(new FileInputStream("test.txt"))); 装饰模式的类...
阅读全文
posted @ 2014-08-11 23:21 lnlvinso
阅读(248)
评论(0)
推荐(0)
编辑