3/28/2015
来源:互联网 发布:java集合类详解 编辑:程序博客网 时间:2024/05/16 06:38
pattern
1. singleton(单例模式)
variable 设为private, method 设为static,整个code共享一个instance.
2.immutable object
variable设为private,在constructor中即将variable初始化,只有gettor没有settor。
0 0
- 3/28/2015
- 2015-05-28
- 拾遗2015-07-28
- 2015-07-28总结
- [2015-07-28] python010
- 2015/07/28
- 2015-07-28
- 2015-07-28
- 2015-09-28
- 2015-10-28
- 2015-10-28基础知识
- 2015-12-28
- 2015-12-28 FFC
- 3-28
- 2015-1-28工作日志
- 2015-1-28冬令营日志
- 学习日志 2015/01/28
- 2015年2月28
- 安卓中缩放图片到imageview(imageview出现OutOfMemoryError)
- error C2664: “void std::_Pmf_wrap<void (__thiscall cocos2d::Layer::* )(const std::vector<cocos2d::To
- android Volley解析之自定义CookieObjectRequest
- Unity3d之AssetBundle打包与读取
- Appium源码分析(3)-路由器模块
- 3/28/2015
- Linux下进程管理
- Out
- python manage.py runserver 8002执行成功却不能显示网页
- 我的常用Mac软件清单
- Linux系统指令‘ls’详细用法解析
- wornet 安装 ./configure 出现 WARNING: Can't find Tcl configuration definitions
- 只要你不努力,就一定有人替代你
- python爬虫Pragmatic系列III