mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 14:58:39 +00:00
layout, title, folder, permalink, categories, tags
| layout | title | folder | permalink | categories | tags | |
|---|---|---|---|---|---|---|
| pattern | Multiton | multiton | /patterns/multiton/ | Creational |
|
Also known as
Registry
Intent
Ensure a class only has limited number of instances, and provide a global point of access to them.
Class diagram
Applicability
Use the Multiton pattern when
- there must be specific number of instances of a class, and they must be accessible to clients from a well-known access point
