Skip to content

Java 设计模式 - 单例模式 | 508实验室 #2

@schizobulia

Description

@schizobulia

https://508laboratory.github.io/2016/09/26/java/java-dan-li-she-ji-mo-shi/

JAVA设计模式 - 单例模式
单例模式(Singleton Pattern)是 Java 中最简单的设计模式之一。这种类型的设计模式属于创建型模式,它提供了一种创建对象的最佳方式。
这种模式涉及到一个单一的类,该类负责创建自己的对

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions