mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-21 02:24:21 +00:00
fbb12b53ba
I did the job and splitted up the readme, hopefully everything was splitted correctly...
16 lines
432 B
Markdown
16 lines
432 B
Markdown
---
|
|
layout: pattern
|
|
title: Multiton
|
|
folder: multiton
|
|
categories: pattern_cat
|
|
tags: pattern_tag
|
|
---
|
|
|
|
**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 |