Java学习笔记3:用私有构造器或者枚举类型强化Singleton属性

http://www.oak.hk/blog/2014/09/19/enforce-the-singleton-property-with-a-private-constructor-or-an-enum-type/

posted on 2014-10-01 17:30  徐碧涛  阅读(87)  评论(0编辑  收藏  举报

导航