Decorator设计模式
来源:互联网 发布:nginx upstream 别名 编辑:程序博客网 时间:2024/05/13 18:26
包装类,可以用一个对象包装另外一个对象,常见的可以使用:BufferedReader包装一个FileReader,FileReader提供的是底层的读操作,比如Reader(char[] buffer).BufferedReader实现了更高层次上的操作,比如ReadLine.完成读取的是文件中的一行。这就是Decorator模式
0 0
- 设计模式 - Decorator模式
- 设计模式-decorator模式
- 设计模式-Decorator模式
- 设计模式 - Decorator模式
- 设计模式--Decorator 模式
- java Decorator设计模式 Decorator设计模式
- SharpDevelop设计模式(Decorator)
- 设计模式之Decorator
- Decorator设计模式 C#
- Decorator设计模式 Java
- 设计模式--Decorator
- 设计模式之 Decorator
- 设计模式(Decorator)
- 设计模式之Decorator
- 设计模式之Decorator
- 设计模式之Decorator
- 设计模式之 decorator
- Java.Decorator设计模式
- 使用Jenkins配置自动化构建
- [转] CSS中相对位置和绝对位置的使用
- thinkphp实现数据分页
- iOS 持续集成系列
- Springmvc 并发访问的线程安全性问题
- Decorator设计模式
- 释疑の资源短缺DATASET_CANT_CLOSE
- C++:重载和覆盖
- Linux Kernel 设备驱动之I2C之client读写数据API
- go coroutine goroutine
- mysql小记
- ARTSPConnection::receiveLine
- 神经网络
- FaaS, Fission and K8S