随笔分类 -  Design Patterns

摘要:A composite is a group of objects in which some objects may contain others; thus, one objectmay represent groups, and another may represent an individual item, or leaf. When you modela composite, two powerful concepts emerge. One important modeling idea is to design groupsso that they can contain ei 阅读全文
posted @ 2012-05-16 12:07 Qiengo 阅读(247) 评论(0) 推荐(0)