WordGarden.io

singleton

C2
Fairly common

Pronunciation

UK

  • /sˈɪŋɡəltən/

US

  • /ˈsɪŋɡəltən/

Meanings

Noun

  1. a software class or component designed to have only one shared instance

  2. a set or other formal object containing exactly one element

  3. a person who is single and not in a romantic relationship

Beyond the definition

A singleton is not just something alone; it is the only one of its kind in a given place or situation. Picture one snowflake landing on a dark coat and standing out because there is just one. In computer science, a singleton is a design pattern that allows only one instance of a class, like a single gatekeeper that the whole program uses. In other fields, the word can also mean one item that appears by itself, such as one card of a suit in a hand or a set with exactly one member.

Examples

  1. 1

    Birth statistics

    The study looked only at singleton births, not twins or triplets.

    • Domainsingleton birth

      a birth with one baby

  2. 2

    Corpus data

    In the dataset, rare words that appear only once are marked as singletons.

  3. 3

    Software design

    The app uses a singleton for the database connection, so every part of the system shares the same instance.

    • Domainsingleton

      a single shared object in a program

See also

Similar

Shades of meaning

Contrast

Used with (collocations)

  • singleton set
  • singleton instance
  • singleton birth

Explore

Forms and spellings

2 forms open this card.

Main spelling

  • singletonnoun

Forms

  • singletonspluralnoun