KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
singleton
81 questions · page 1 of 2
Follow Tag
Sort by:
Newest
Votes
Active
37
votes
2
answers
Singleton via enum way is lazy initialized?
java
singleton
asked 2013-05-27T10:41:02.803
78
votes
8
answers
Singleton in Android
android
singleton
asked 2013-05-13T08:28:10.630
8
votes
5
answers
Java - is there any reason to check if a singleton is null twice?
java
multithreading
concurrency
singleton
asked 2013-03-19T11:47:01.010
11
votes
3
answers
What is a singleton, in plain English?
java
design-patterns
singleton
asked 2013-02-20T06:58:21.813
9
votes
3
answers
When to use a Singleton in python?
python
python-2.7
singleton
instance
asked 2013-01-30T08:59:11.283
12
votes
2
answers
making thread-local objects on scala
multithreading
scala
singleton
asked 2013-01-05T20:13:15.207
11
votes
1
answers
Singleton class vs. class with static member
singleton
static-members
asked 2012-12-31T05:06:02.750
9
votes
3
answers
Android: Singleton which is used between Activity and Service
android
singleton
asked 2012-11-22T19:43:32.757
30
votes
7
answers
Difference between Singleton implemention using pointer and using static object
c++
design-patterns
singleton
asked 2012-10-24T10:38:43.030
10
votes
1
answers
SQLiteDatabase multi-thread locking pattern
java
android
multithreading
sqlite
singleton
asked 2012-10-06T09:48:51.007
8
votes
3
answers
Allow only one instance of python script?
python
linux
locking
singleton
centos
asked 2012-09-01T21:54:12.470
47
votes
5
answers
What is the point of making the singleton instance volatile while using double lock?
java
singleton
volatile
thread-synchronization
double-checked-locking
asked 2012-07-24T21:40:31.500
37
votes
6
answers
Why implementing a Singleton pattern in Java code is (sometimes) considered an anti-pattern in Java world?
java
design-patterns
singleton
asked 2012-07-02T10:45:34.057
9
votes
5
answers
I want a design alternative to a singleton
c#
wpf
singleton
asked 2012-05-02T12:10:12.730
14
votes
2
answers
Binding To Singleton Class Observable Collection Member
wpf
binding
static
singleton
asked 2012-04-20T07:53:06.977
9
votes
3
answers
FactoryGirl in Rails - Associations w/ Unique Constraints
ruby
rspec
singleton
factory-bot
asked 2012-03-13T04:26:52.007
8
votes
1
answers
Java singleton class vs JSF application scoped managed bean - differences?
jsf
singleton
managed-bean
asked 2012-03-10T23:32:25.727
14
votes
3
answers
What is the difference between "new A()" and "A.newInstance()"?
java
android
design-patterns
singleton
android-fragments
asked 2012-01-17T03:14:05.900
11
votes
4
answers
When/why does my Java singleton instance get destroyed?
java
android
singleton
android-ndk
asked 2011-09-21T17:27:41.107
10
votes
2
answers
Using singleton for caching
c#
caching
singleton
asked 2011-08-28T07:20:19.950
59
votes
7
answers
get_instance() in Codeigniter: Why assign it to a variable?
php
codeigniter
singleton
reference
asked 2011-08-25T18:41:33.710
18
votes
10
answers
Singleton instantiation
java
singleton
asked 2011-08-19T11:59:57.677
45
votes
1
answers
Thread Safe Singletons in Java
java
multithreading
synchronization
thread-safety
singleton
asked 2011-08-13T02:38:14.527
13
votes
2
answers
How to create a thread-safe singleton in python
python
django
singleton
thread-safety
asked 2011-06-16T07:09:45.050
21
votes
7
answers
Correct way of making a singleton a Spring bean
java
spring
singleton
asked 2011-06-01T17:19:14.593
37
votes
6
answers
Singleton pattern (Bill Pugh's solution)
java
design-patterns
singleton
asked 2011-05-24T11:46:52.973
14
votes
5
answers
Unit testing singletons
c#
.net
unit-testing
singleton
asked 2011-05-05T12:31:53.650
10
votes
4
answers
Singleton and @Autowired returning NULL
spring
singleton
autowired
asked 2011-02-15T22:23:20.833
47
votes
6
answers
Singleton with parameters
c#
design-patterns
parameters
singleton
arguments
asked 2010-11-17T10:54:08.660
44
votes
9
answers
How to deal with Singleton along with Serialization
java
singleton
asked 2010-10-14T04:53:03.310
47
votes
5
answers
C++ singleton vs completely static object
c++
class
static
singleton
asked 2010-10-01T16:14:48.137
18
votes
11
answers
Java Singleton Design Pattern : Questions
java
spring
design-patterns
singleton
asked 2010-08-07T00:10:14.750
30
votes
5
answers
Can I gain some efficiency by declaring appropriate members "static" in Android Activity
android
static
singleton
android-activity
asked 2010-08-03T18:36:14.133
14
votes
8
answers
What's the correct method to subclass a singleton class in Objective -C?
objective-c
singleton
asked 2010-08-03T06:25:01.083
24
votes
12
answers
Singleton pattern
design-patterns
singleton
asked 2010-07-23T15:07:54.953
53
votes
7
answers
Why use singleton instead of static class?
design-patterns
class
static
singleton
asked 2010-06-03T20:40:53.133
27
votes
6
answers
Interview question: about Java serialization and singletons
java
serialization
singleton
asked 2010-06-02T14:54:13.347
9
votes
3
answers
Using Dispose on a Singleton to Cleanup Resources
c#
singleton
dispose
asked 2010-05-28T17:48:39.220
15
votes
5
answers
Thread safety in Singleton
java
multithreading
singleton
asked 2010-05-26T11:04:55.743
10
votes
6
answers
Preventing call of a private constructor from within the class in Java
java
constructor
singleton
private-constructor
asked 2010-05-23T19:04:01.413
28
votes
8
answers
Is it possible to apply inheritance to a Singleton class?
java
design-patterns
singleton
asked 2010-05-05T12:04:22.873
115
votes
8
answers
Why use a singleton instead of static methods?
java
design-patterns
singleton
asked 2010-05-04T12:03:07.433
13
votes
7
answers
Is it bad practice to have state in a static class?
c#
static
singleton
global-variables
asked 2010-05-02T16:24:15.973
12
votes
7
answers
private destructor for singleton class
c++
singleton
asked 2010-04-01T10:40:45.000
17
votes
7
answers
Singleton Properties
c#
design-patterns
singleton
asked 2010-03-08T21:16:57.900
11
votes
3
answers
Creating a singleton ChannelFactory<T> and reusing for client connections
wcf
singleton
thread-safety
channelfactory
static-constructor
asked 2010-02-11T15:28:57.157
27
votes
8
answers
Different Singleton instances with JUnit tests
junit
singleton
asked 2010-01-30T07:40:55.863
207
votes
16
answers
What is a singleton in C#?
c#
.net
singleton
asked 2010-01-28T15:37:59.833
40
votes
7
answers
ASP .NET Singleton
c#
asp.net
static
singleton
asked 2010-01-25T18:17:03.707
9
votes
6
answers
Is implementing a singleton using an auto-property a good idea?
c#
singleton
automatic-properties
asked 2010-01-22T12:46:31.957
page 1 of 2
Next →