Skip to content

TalesGarden/Design-patterns-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Design Patterns with Java

Exploring Design Patterns in Practice with Pure Java

Implementations

  • Singleton:This pattern ensures that only one instance of a class exists, maintaining a global access point to its object.
  • Strategy: Simplify the variation of algorithms for solving the same problem.categorized as a behavioral pattern of software development. In order to delegate the responsibilities acquired by the entities, thus assigning the behavior.Thus, communication between objects is improved, as there is the distribution of responsibilities. The aim is to represent aoperation to be performed on the elements of an object structure
  • Facade: Provide an interface that reduces complexity in integrations with subsystems.Makes a complex subsystem easier to use because a simple interface is provided for a set of interfaces in the subsystem. Therefore, dependencies on a subsystem are minimized.

Illustrative images

Singleton

singleton-3x

Strategy

Strategy_example1

Facade

facade

About

Exploring Design Patterns in Practice with Pure Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages