摘要:
组合模式定义:Compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly.将对象组合成树形结构以表示“部分-整体”的层次结构,使得用户对单个对象和组合对象的使用具有一致性。 如上图所示 阅读全文

posted @ 2013-01-06 10:11
叶梅树
阅读(2813)
评论(0)
推荐(0)