This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Duplicating a generic inner class to a singleton

 
Vatsa dude
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic