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
- Host: GitHub
- URL: https://github.com/yash1th-yerra/design-patterns
- Owner: yash1th-yerra
- Created: 2024-07-12T05:33:35.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-12T06:33:29.000Z (11 months ago)
- Last Synced: 2024-12-27T16:13:32.969Z (6 months ago)
- Language: Java
- Size: 96.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 Pattern2. **Structural Patterns**
- Adapter Pattern
- Bridge Pattern
- Composite Pattern
- Decorator Pattern
- Facade Pattern
- Flyweight Pattern
- Proxy Pattern3. **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