designpattern共27篇
Chain of responsibility-拾光赋

Chain of responsibility

Chain of responsibility, Behavioural Design Patterns (8 Part Series) 1 Observer 2 Strategy ... 4 more parts... 3 command 4 Chain of responsibility 5 Mediator 6 Memento 7 Template 8...
kity的头像-拾光赋kity7个月前
0475
Prototype-拾光赋

Prototype

Prototype, Creational Design Patterns (6 Part Series) 1 Factory method 2 Abstract factory method ... 2 more parts... 3 Difference between Abstract Factory and Factory Pattern 4 Sin...
kity的头像-拾光赋kity7个月前
0488
command-拾光赋

command

command, Behavioural Design Patterns (8 Part Series) 1 Observer 2 Strategy ... 4 more parts... 3 command 4 Chain of responsibility 5 Mediator 6 Memento 7 Template 8 State Command p...
kity的头像-拾光赋kity7个月前
03410
Different Ways to Implement Thread-Safe Singleton Pattern in Java-拾光赋

Different Ways to Implement Thread-Safe Singleton Pattern in Java

Different Ways to Implement Thread-Safe Singleton Pattern in Java,The Singleton design pattern is a well-known creational pattern that ensures a class has only one instance while p...
kity的头像-拾光赋kity1年前
0435
[Design Pattern] Observer Pattern-拾光赋

[Design Pattern] Observer Pattern

[Design Pattern] Observer Pattern,The observer pattern is a one to many relationship dependency, and when one object(Observable object) changes its status, all its dependencies(Obs...
kity的头像-拾光赋kity3年前
04314
[Design Pattern] Strategy Pattern-拾光赋

[Design Pattern] Strategy Pattern

[Design Pattern] Strategy Pattern,Strategy pattern is a group of algorisms or business logics and each of them are interchangable. Strategy pattern separates the algorisms from the...
kity的头像-拾光赋kity3年前
0247
Strategy design pattern — Java-拾光赋

Strategy design pattern — Java

Strategy design pattern — Java, Definition of the Strategy pattern In computer programming, the strategy pattern **(also known as the **policy pattern) is a behavioral software de...
kity的头像-拾光赋kity3年前
0497
Factory design pattern — Java-拾光赋

Factory design pattern — Java

Factory design pattern — Java, Definition of the Factory pattern In class-based programming, the **factory method pattern** is a creational pattern that uses factory methods to de...
kity的头像-拾光赋kity3年前
03812
Composite design pattern — Java-拾光赋

Composite design pattern — Java

Composite design pattern — Java, Definition of Composite pattern In software engineering, the composite pattern is a partitioning design pattern. The composite pattern describes a...
kity的头像-拾光赋kity3年前
0365
Prototype design pattern — Java-拾光赋

Prototype design pattern — Java

Prototype design pattern — Java, Definition of Prototype pattern The prototype pattern is a creational design pattern in software development. It is used when the type of objects ...
kity的头像-拾光赋kity3年前
0298
Builder design pattern — java-拾光赋

Builder design pattern — java

Builder design pattern — java, Definition of Builder Pattern The builder pattern is a design pattern that allows for the step-by-step creation of complex objects using the correct...
kity的头像-拾光赋kity3年前
05211
How Fluent Interface Design Pattern extends capability of Java record-拾光赋

How Fluent Interface Design Pattern extends capability of Java record

How Fluent Interface Design Pattern extends capability of Java record,In this short post, I do not intend to make a comparison between using the record in Java 17 and Lombok, but s...
kity的头像-拾光赋kity4年前
0549