The best replacement for singleton is static. |
The best alternatives to singleton are rated as following: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Your alternative for singleton is not listed? Suggest! |
Speaking about singleton, one probably shouldn't forget about private constructor.
Other search terms related to singleton and their ratings are: |
|||||||||||||||
|
|||||||||||||||
You have in mind a companion for singleton and it is not yet here? Propose! |
singleton |
|
static |
|
static class |
|