摘要:
保证一个类仅有一个实例,并提供一个该实例的全局访问点。——《设计模式》GoF ensure that a class has only one intstance Singleton模式中的实例构造器可以设置为protected以允 许子类派生。 • Singleton模式一般不要支持ICloneable接口,因为这可能 会导致多个对象实例,与Singleton模式的初衷违背。 •... 阅读全文
posted @ 2007-07-25 18:27
许晓光
阅读(212)
评论(0)
推荐(0)
摘要:
Define an interface for creating an object, but let subclass decide which class to instantiate. Factory mothed lets class defer instantiation to subclass. Factory Method模式的几个要点 • Factory Method模式主... 阅读全文
posted @ 2007-07-25 16:46
许晓光
阅读(214)
评论(0)
推荐(0)
摘要:
正在读,比尔·盖茨推荐的好书!这是一本所有决策者、企业员工都必须读的一本书。 阅读全文
posted @ 2007-07-25 11:23
许晓光
阅读(252)
评论(1)
推荐(0)
摘要:
绩效管理主要有以下几个目的:1.决定涨薪的幅度;2. 决定员工的培训;3.决定员工的离职;4.考察员工的表现决定晋升;5.提高团队的整体能力。 阅读全文
posted @ 2007-07-25 11:03
许晓光
阅读(600)
评论(4)
推荐(0)
摘要:
提供一个接口,让该接口负责创建一系列“相关或者 相互依赖的对象”,无需指定它们具体的类。——《设计模式》GoF Provide an interface for creating families of related or dependent objects without specifying their concrete classes. 常规的对象创建方法: // 创建一个Road ... 阅读全文
posted @ 2007-07-25 09:45
许晓光
阅读(274)
评论(0)
推荐(0)

浙公网安备 33010602011771号