2008-05-23
some thoughts of composite & visitor pattern
关键字: composite command visitor java pattern
At first, let's look the typical class structure diagram of composite pattern:
Composite pattern
is very suitable for Tree structure. The picture showed above defines a Interface Node and two sub concrete tree types : Leaf and Branch. Branch may contains sub branch and ...
- 17:03
- 浏览 (52)
- 评论 (0)
- 分类: design pattern
- 浏览: 3137 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
最新评论
-
对java中equals和hashCode ...
谢谢博主的详细解释. 不过有一个问题: 引用在Object类equals函数 ...
-- by rmn190 -
对java中equals和hashCode ...
明白了,谢谢
-- by NicholasBugs






评论排行榜