432 B
432 B
layout, title, folder, categories, tags
layout | title | folder | categories | tags |
---|---|---|---|---|
pattern | Multiton | multiton | pattern_cat | 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