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

  • algorithm

    - An algorithm (pronounced AL-go-rith-um) is a procedure or formula for solving a problem. Algorithms are used throughout almost all areas of information technology. (WhatIs.com)

  • fractal

    - Fractals are non-regular geometric shapes that have the same degree of non-regularity on all scales. (WhatIs.com)

  • game theory

    - Game theory is the study of mathematical models of negotiation, conflict and cooperation between individuals, organizations and governments. The study has direct applications in contract theory, ec... (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.