Skip to content
EntityQ746699· pop 36· linked from 126 articles

singleton pattern

Sign in to save

Also known as singleton

design pattern in object-oriented software development

In the Vinony graph

Within Vinony's link graph, singleton pattern is referenced by 126 other articles, and connects out to class, International Standard Book Number and object-oriented programming.

It sits within the topics Anti-patterns and Software design patterns.

Its subject is documented across 32 Wikipedia language editions.

Wikidata facts

Show 4 more facts
different from
singleton
Commons category
Singleton pattern
name
Singleton
Sources (1)

via Wikidata · CC0

~6 min read

Encyclopedic overview

A class diagram exemplifying the singleton pattern.

In object-oriented programming, the singleton pattern is a software design pattern that restricts the instantiation of a class to a singular instance. It is one of the well-known "Gang of Four" design patterns, which describe how to solve recurring problems in object-oriented software. The pattern is useful when exactly one object is needed to coordinate actions across a system.

Excerpted from Wikipedia’s “singleton pattern” article, available under the CC BY-SA 4.0 licence.

Categories