/DesignPatterns

Design patterns implemented in Java

Primary LanguageJavaMIT LicenseMIT

Design patterns in Java

Design patterns are solutions to recurring problems and are formalized best practices that the programmer can use to solve common problems when designing an application.

License MIT

Design patterns

Creational

  1. Abstract Factory
  2. Builder
  3. Factory
  4. Prototype
  5. Singleton

Structural

  1. Adapter
  2. Bridge
  3. Composite
  4. Decorator
  5. Facade
  6. Flyweight
  7. Proxy

Behavioural

  1. Chain of Responsibility
  2. Command
  3. Interepter
  4. Iterator
  5. Mediator
  6. Memento
  7. Observer
  8. State
  9. Strategy
  10. Template method
  11. Visitor

Installation 🔌

  1. Press the Fork button (top right the page) to save copy of this project on your account.

  2. Download the repository files (project) from the download section or clone this project by typing in the bash the following command:

    git clone https://github.com/HouariZegai/DesignPatterns.git
    
  3. Import the project in Intellij IDEA or any other IDE.

  4. Run the program :D

Contributing 💡

If you want to contribute to this project and make it better with new ideas, your pull request is very welcomed. If you find any issue just put it in the repository issue section, thank you.