File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
OO, Patterns, UML and Refactoring
Joined: Jan 14, 2001
Jan 14, 2001 02:05:00
how to write a singleton class?
Joined: Jun 13, 2000
Jan 14, 2001 07:52:00
, UML and Refactoring would be the appropriate forum for this, I'm moving it there.
I Hope This Helps
Carl Trusiak, SCJP2, SCWCD
Joined: Apr 05, 2000
Jan 14, 2001 08:41:00
Try out this article:
You may also want to check out Bruce Eckel's
online book "Thinking in Patterns with Java":
[This message has been edited by Joe Paolangeli (edited January 14, 2001).]
Joined: Jan 07, 1999
Jan 15, 2001 02:59:00
It's always worth doing a search here at JavaRanch. I found an old post
whch might be helpful.
Read about me at frankcarver.me
Raspberry Alpha Omega
Frank's Punchbarrel Blog
Joined: Jan 02, 2001
Jan 15, 2001 06:28:00
If you're using JDK1.3, check out the
on the Collections Framework. The JDK1.3 has added java.util.Collections.singletonList and java.util.Collections.singletonMap. Most definitely
I agree. Here's the link:
subject: singleton class
Speaks anything against this Singleton implementation?
ClassLoader is Singleton ?
what is a singleton class?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014