Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

mohalaoui/designPatterns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

design patterns implemtations:

test

  • the examples below are tested in DesignPatternApplicationTests.java

adapter

example: adapting bird to squeak

builder

example: building Book object

composite

example: managing tree of articles

decorator

example: adding condiments to beverage with costs

facade

example: computer facade that manage CPU calculating, HDD reading and Memory loading

factory

example: factory that create object shape by type

proxy

example: restrict access to image method: "display"

singleton

example: creating a cache singleton example

strategy

example: adding diffrent type of bonus to employee

visitor

example: delegating calcul of yealy employees bonus to visitor

About

most used design patterns implemtations example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /