Singleton

/ˈsɪŋɡəl.tən/

एकमात्र/अद्वितीय वस्तु या व्यक्ति; अकेली संतान; (कंप्यूटिंग) एक ही इंस्टेंस वाला डिज़ाइन पैटर्न

Origin & History

From single + the suffix -ton, modeled on words indicating a single entity; popularized in mathematics (singleton set) and later in computing (singleton pattern).

'single' शब्द और प्रत्यय '-ton' से बना; गणित में (singleton set) के लिए प्रचलित हुआ और बाद में कंप्यूटिंग में (singleton pattern) के रूप में व्यापक हुआ।

Definition

A singleton is something that exists as one only—either a unique item in a set, a person who is alone (especially an only child), or (in software) a design pattern where only one instance of a class is allowed.

सिंगलटन वह वस्तु/व्यक्ति है जो केवल एक के रूप में मौजूद हो—या तो किसी समूह में एकमात्र/अद्वितीय तत्व, कोई अकेला व्यक्ति (विशेषतः अकेला बच्चा), या (सॉफ़्टवेयर में) ऐसा डिज़ाइन पैटर्न जिसमें किसी क्लास की केवल एक ही इंस्टेंस बनाने की अनुमति होती है।

Parts of Speech

Noun:
She was a singleton child, so she grew up without siblings.
वह अकेली संतान थी, इसलिए वह बिना भाई-बहनों के बड़ी हुई।
Noun:
In this program, the logger is implemented as a singleton to ensure only one shared instance.
इस प्रोग्राम में लॉगर को सिंगलटन के रूप में लागू किया गया है ताकि केवल एक साझा इंस्टेंस रहे।

Usage Examples

The museum displayed a singleton artifact unlike anything else in the collection.
He was a singleton, which made family gatherings feel quieter.
The singleton pattern helps control access to a shared resource.
In the dataset, that value appears as a singleton occurrence.

Synonyms

Unique item Sole instance Only one Single instance One-off

Related Forms

Noun
Singleton / Singleness / Single
Adjective
Single / Single-instance
Adverb
Singly

Idioms & Phrases

A singleton set
एक-तत्त्वीय समुच्चय (जिसमें केवल एक ही तत्व हो)
Singleton pattern
सिंगलटन पैटर्न (ऐसा डिज़ाइन पैटर्न जिसमें केवल एक इंस्टेंस होता है)