An open API service indexing awesome lists of open source software.

https://github.com/yash1th-yerra/design-patterns

Design Patterns for Development
https://github.com/yash1th-yerra/design-patterns

Last synced: 4 months ago
JSON representation

Design Patterns for Development

Awesome Lists containing this project

README

        

# Java Design Patterns

This repository contains implementations of various design patterns in Java. Each design pattern is organized in a separate folder, developed as a Java project in Eclipse IDE.

## Structure

The repository is organized as follows:

- **DesignPatternName/**
- **src/**
- **com/designpatterns/patternname/**
- *PatternNameMain.java*: Main class for the design pattern
- *OtherRelatedClasses.java*: Additional classes and interfaces related to the pattern

## Design Patterns Included

1. **Creational Patterns**
- Factory Pattern
- Abstract Factory Pattern
- Singleton Pattern
- Builder Pattern
- Prototype Pattern

2. **Structural Patterns**
- Adapter Pattern
- Bridge Pattern
- Composite Pattern
- Decorator Pattern
- Facade Pattern
- Flyweight Pattern
- Proxy Pattern

3. **Behavioral Patterns**
- Chain of Responsibility Pattern
- Command Pattern
- Interpreter Pattern
- Iterator Pattern
- Mediator Pattern
- Memento Pattern
- Observer Pattern
- State Pattern
- Strategy Pattern
- Template Method Pattern
- Visitor Pattern

## Installation

To use or contribute to this project, follow these steps:

1. **Clone the repository:**
```sh
git clone https://github.com/yash1th-yerra/design-patterns-java.git
2.**Import into Eclipse IDE:**
Open Eclipse IDE.
Go to File > Import.
Select Existing Projects into Workspace.
Select the cloned repository directory.
Click Finish