Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/a-cordier/design-pattern-composite-visitor
Composite Visitor design pattern combo
https://github.com/a-cordier/design-pattern-composite-visitor
Last synced: 14 days ago
JSON representation
Composite Visitor design pattern combo
- Host: GitHub
- URL: https://github.com/a-cordier/design-pattern-composite-visitor
- Owner: a-cordier
- Created: 2015-11-16T09:15:56.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-16T09:16:21.000Z (almost 9 years ago)
- Last Synced: 2024-10-10T20:58:47.937Z (about 1 month ago)
- Language: Java
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Composite & Interpreter pattern
#### Structural - Behavioral
Visitor:
Represent an operation to be
performed on the elements of an
object structure. Lets you define a
new operation without changing
the classes of the elements on
which it operates.Composite:
Compose objects into tree structures to
represent part-whole hierarchies. Lets
clients treat individual objects and
compositions of objects uniformly.Source code stems from the following UML diagram:
![alt text](design-pattern-composite-visitor.png "Design Pattern Composite with visitor ")