Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes Duplicating a generic inner class to a singleton Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Duplicating a generic inner class to a singleton" Watch "Duplicating a generic inner class to a singleton" New topic
Author

Duplicating a generic inner class to a singleton

Vatsa dude
Greenhorn

Joined: Apr 29, 2009
Posts: 22
Hi,
I have a requirement to duplicate an inner class MyClass to a Singleton. I've attempted to do this by implementing MySingleton. I am not sure how to use the _instance in the get and put method of MyClass. Can you please advice?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Duplicating a generic inner class to a singleton
 
Similar Threads
"POTENTIAL PROBLEM" in following prg ?
same key for diff values in HashMap
How to use Singleton Design pattern in a Clustered Environment?
compile-time type checking
non-static reference in singleton