Skip to content

A composite pattern is a partitioning design pattern and describes a group of objects that are treated the same way as a single instance of the same type of object. The intent of a composite is to “compose” objects into tree structures to represent part-whole hierarchies. It allows you to have a tree structure and ask each node in the tree struc…

Notifications You must be signed in to change notification settings

mehboobali98/Composite-Design-Pattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Composite Design Pattern

The repository contains an implementation of the Composite Design Pattern.

Directory Structure

📦Composite-Design-Pattern
┣ 📂src
┃ ┗ 📂compositePattern
┃ ┃ ┣ 📜Employee.java
┃ ┃ ┗ 📜Main.java
┣ 📜.gitignore
┣ 📜compositePattern.iml
┗ 📜README.md

About

A composite pattern is a partitioning design pattern and describes a group of objects that are treated the same way as a single instance of the same type of object. The intent of a composite is to “compose” objects into tree structures to represent part-whole hierarchies. It allows you to have a tree structure and ask each node in the tree struc…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published