该模式的目的是,“把对象组合到树状结构中,以表示部分-整体关系。”
To quote its intent "Compose objects into tree structures to represent part-whole hierarchies."
这些原则掌控着所使用的要素间的关系,并把各个部分组成一个整体。
The principles govern the relationships of the elements used and organize the composition as a whole.
它与所支持命题的关系既不是部分与整体的关系,也不是整体与部分的关系,更不是整体与整体的关系,而是部分与部分的关系,或者说同类之间的关系。
Its relation to the proposition it supports is not that of part to whole, nor whole to part, nor whole to whole, but of part to part, or like to like.
应用推荐