Skip to main content

Posts

Showing posts with the label Composite Pattern

Composite Pattern

Composite pattern is useful when Group of items and an individual item need to be handled uniformly. For example, operations cut, copy and paste should work uniformly for both an individual file or a directory. Leaf Branch Contact Contact Group File Directory Address Address group