Skip to content

JaeNuguid/Java-Design-Patterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Design Patterns

A repository containing basic examples of different java design patterns

Contents

Strategy Design Pattern


Strategy Design Pattern allows the algorithm to vary independently from clients that use it. It helps on designing a flexible and reusable object-oriented software.
The ability to store and retrieve a reference to some code in a data structure is the fundamental prerequisite in order to implement Strategy Design Pattern. This is achievable by mechanisms as the native function pointer, the first-class function, classes or class instances in object-oriented programming languages, or accessing the language implementation's internal storage of code through reflection.




Disclaimer

All information stated above including the source codes and uml diagrams is provided in good faith for guidance and reference purposes only. It is of a general informational and educational nature, and the contributors of this repository takes no legal responsibility for the accuracy of the information provided via this page.

About

A repository containing basic examples of different Java design patterns

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages