What does “singleton” mean?
-
noun
A single item in a set or group
The array contained a singleton at position five.
-
noun
In programming, a design pattern with only one instance
The class uses a singleton to control access to the resource.
Word forms
singletons
Often used as
- a singleton item in the list
- each singleton is the unique instance
- the singleton pattern in code
- we created a singleton object
- this class uses a singleton pattern
Related words and nuances
- single
- sole
- lone
- unit
- one