Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.07 KB

readme.md

File metadata and controls

25 lines (16 loc) · 1.07 KB

Collectional Patterns

  • Deal with the details of how to compose classes and objects to form larger structures.
  • Allows both individual objects and composite objects to be treated uniformly.
  • Compose objects into tree structures to represent whole-part hierarchies.

collection

  • The invariant information are separated into two classes leading to savings in terms of the memory usage and the amount of time required to create a large number of instances.
  • Use sharing to support large numbers of fine grained objects efficiently.

collection

  • Access the contents of a collection without having any knowledge about the internal representation of its contents.

collection

  • Allows to add a operation to be defined across a collection of different objects without changing the classes of objects on which it operates.

collection