java-design-patterns icon indicating copy to clipboard operation
java-design-patterns copied to clipboard

Design patterns implemented in Java

Results 588 java-design-patterns issues
Sort by recently updated
recently updated
newest added

Java Stream is simplifying of Implementing Chain of Responsibilities pattern. Interface with multiple implementations and run through chain via Java List streams. This gives flexibility to switch the order of...

info: help wanted
epic: pattern
type: enhancement

Pull request title - Clearly and concisely describes what it does - Refer to the issue that it solves, if available Pull request description - Describes the main changes that...

In this pull request, - Add the identity field pattern - This is related to this [issue](https://github.com/iluwatar/java-design-patterns/issues/1298) Pull request description - Implement the identity field pattern according to the given...

status: under review

This PR helps for solving #1957 I use 1000L to replace 1000 to avoid the overflow bug. Guaranteed not to overflow when converting int types to long types. And I...

Pull request title - Add client-server (sockets) pattern implementation and uml class diagram. - This is to solve the issue https://github.com/iluwatar/java-design-patterns/issues/841 Pull request description Implement the client-server (sockets) pattern according...

status: under review

Pull request title - use atomic operation `ConcurrentMap.computeIfAbsent` instead of double-check-lock for lazy initialization Pull request description - fix the concurrent problem

status: under review

Pull request title - Added Pessimistic Concurrency Pattern - Addresses #1281 Pull request description - Implements Pessimistic Concurrency Pattern based on provided resource: http://ommolketab.ir/aaf-lib/axkwht7wxrhvgs2aqkxse8hihyu9zv.pdf chapter 10.2 & B-5 > For...

Pull request title - Added Optimistic Concurrency Pattern - fixes #1280 Pull request description - Implements Optimistic Concurrency Pattern based on provided resource: http://ommolketab.ir/aaf-lib/axkwht7wxrhvgs2aqkxse8hihyu9zv.pdf chapter 10.2 - Also took inspiration...

Add Presentation-Abstraction-Control (issue https://github.com/iluwatar/java-design-patterns/issues/304) - Presentation–abstraction–control is a software architectural pattern. It is an interaction-oriented software architecture, and is somewhat similar to MVC in that it separates an interactive system...

## Description: The Presentation-Abstraction-Control (PAC) is a design pattern used in software architecture that focuses on the separation of concerns into three interconnected components: 1. **Presentation:** Manages the user interface...

info: help wanted
epic: pattern
type: feature