Definition of «singleton»

In computer programming, a singleton is a design pattern that restricts the creation of objects to only one instance. This means that there can be only one object of this type in existence at any given time. The idea behind this pattern is to provide a global point of access to data or functionality while still maintaining encapsulation and preventing multiple instances from being created.

Sentences with «singleton»

  • In America, precision of line and clarity of form can be traced to the eighteenth century and the work of John Singleton Copley. (michaelrosenfeldart.com)
  • «More generally, the limited role of shared environmental factors in physical aggression clashes with the results of studies of singletons in which many family or parent level factors were found to predict developmental trajectories of physical aggression during preschool.» (parentherald.com)
  • Most recently, there was a study (Ayrim 2014), in Turkey: 165 women with singleton pregnancies who were breastfeeding the previous child. (breastfeedingtoday-llli.org)
  • (see all sentences)
a b c d e f g h i j k l m n o p q r s t u v w x y z