First they ignore you
then they ridicule you
then they fight you
then you win
    -- Mahatma Gandhi
Chinese => English     英文 => 中文             
随笔-221  评论-1047  文章-0  trackbacks-0
创建型模式

1,抽象工厂模式(abstract factory)

UML图


2,生成器模式(builder)

UML图 


3,工厂方法模式(factory method)

UML图

4,原型模式(prototype)

UML图


5,单件模式(singleton)

UML图




附:Groovy轻松入门——Grails实战之GORM篇

posted on 2007-04-19 11:43 山风小子 阅读(3710) 评论(8)  编辑  收藏 所属分类: Design Patterns