Multiton pattern

In software engineering, the multiton pattern is a design pattern which generalizes the singleton pattern. Whereas the singleton allows only one instance of a class to be created, the multiton pattern allows for the controlled creation of multiple instances, which it manages through the use of a map.

Source: Wikipedia — Multiton pattern (CC BY-SA 4.0)

Multiton pattern

In software engineering, the multiton pattern is a design pattern which generalizes the singleton pattern. Whereas the singleton allows only one instance of a class to be created, the multiton pattern allows for the controlled creation of multiple instances, which it manages through the use of a map.

This neuron ends here.

Source: Wikipedia "Multiton pattern" · CC BY-SA 4.0

Share this article: X · Bluesky
Privacy Policy