Skip to content

LBeghini/Java-Design-Patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

☕ Java Design Patterns

Visitor

Visitor pattern is a way to perform operations of a determinated structure build outside the structure.

For example, let's say we have a Museum, and we want to see the masterpieces. However, the arts don't come with an exhibit method, and you don't have the rights to change anything inside the classes.

So you use the Museum as a Visitor to get the exhibitions of the masterpieces.

About

Simple project to implement Java design patterns to a Programming Language class

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages