mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 16:58:56 +00:00
5ce932ceb7
- properly categorize all patterns - remove pattern list from readme - minor fixes to readme - removed "introduction" because its not a pattern and an error i committed some time ago
456 B
456 B
layout, title, folder, permalink, categories, tags
| layout | title | folder | permalink | categories | tags |
|---|---|---|---|---|---|
| pattern | Multiton | multiton | /patterns/multiton/ | Creational | Java |
Intent: Ensure a class only has limited number of instances, and provide a global point of access to them.
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
