all index.md files renamed to README.md for more compatibility with github
This commit is contained in:
21
multiton/README.md
Normal file
21
multiton/README.md
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
layout: pattern
|
||||
title: Multiton
|
||||
folder: multiton
|
||||
permalink: /patterns/multiton/
|
||||
categories: Creational
|
||||
tags:
|
||||
- Java
|
||||
- Difficulty-Beginner
|
||||
---
|
||||
|
||||
## 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
|
Reference in New Issue
Block a user