What is singleton? - Definition from WhatIs.com
Part of the Mathematics glossary:

1) In object-oriented programming , a singleton class is a class that can have only one object (an instance of the class) at a time. For example, using Visual C++ , the "Application" class is an example of a singleton class. You can only create only one object of an Application class.

2) In set theory (mathematics), a singleton is a set with a single element. An example is the set S of all integer s that are neither positive nor negative. In this case:

S = {0}

3) In certain card games, a singleton is a card that is the only one of a suit in a hand. In the game of bridge, each player is dealt 13 cards and any hand with only one card in a given suit is said to hold a singleton of that suit (which, depending on the play of the cards may turn out to be a strength or a weakness, or make no difference.)

This was last updated in September 2005
Contributor(s): Pascal Lombart
Posted by: Margaret Rouse

Related Terms

Definitions

  • negative correlation

    - A negative correlation is a relationship between two variables such that as the value of one variable increases, the other decreases.  Correlation is expressed on a range from +1 to -1, known as th... (WhatIs.com)

  • Euler diagram

    - An Euler diagram (pronounced OY-ler diagram) is a graphic depiction commonly used to illustrate the relationships between sets or groups; the diagrams are usually drawn with circles or ovals, altho... (WhatIs.com)

  • prime number

    - A prime number is a whole number greater than 1, whose only two whole-number factors are 1 and itself. (WhatIs.com)

Glossaries

  • Mathematics

    - Terms related to mathematics, including definitions about logic, algorithms and computations and mathematical terms used in computer science and business.

  • Internet applications

    - This WhatIs.com glossary contains terms related to Internet applications, including definitions about Software as a Service (SaaS) delivery models and words and phrases about web sites, e-commerce ...

Ask a Question. Find an Answer.Powered by ITKnowledgeExchange.com

Ask An IT Question

Get answers from your peers on your most technical challenges

Ask Question

Tech TalkComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.