Design Pattern

2008年6月14日星期六

StaticClassSingleton

//define
final class Singleton{
public static void process{...}
}//:c
//usage
.....
Singleton.process(....);
.....
发帖者 MyGateWebsite 时间: 05:00

没有评论:

发表评论

较新的博文 较早的博文 主页
订阅: 博文评论 (Atom)

Content

  1. Introduction
  2. Creation Pattern
    1. Singloton
      1. implementation with only one subclass
      2. implementation with an instance for each subclass
  3. Structural Pattern
  4. Behavior Pattern

Reference
Back

博客归档

  • ▼  2008 (12)
    • ▼  六月 (12)
      • Implementation with one instance for each subclass
      • Implementation With only one SubClass
      • staticMethodSingleton-lazyInitiation
      • staticMethodSingleton-eagerInitiation
      • StaticClassSingleton
      • Singleton
      • Reference
      • Behavior Pattern
      • Structural Pattern
      • Creational Pattern
      • PatternResource
      • Design Pattern

我的简介

MyGateWebsite
This is the gate to my favorite website
查看我的完整个人资料