"I'm not back." - Bill Harding, Twister
"I'm not back." - Bill Harding, Twister
"I'm not back." - Bill Harding, Twister
Originally posted by Jim Yingst:
Are you sure about that? getPolicy() just makes a security check and calls getPolicyNoCheck(). The code for the latter (in JDK 1.4.2 anyway) is basically
Looks like a singleton to me. Are you using a particular JDK where you see something different?
"I'm not back." - Bill Harding, Twister
What I should have said was that getInstance() does not return a new instance every time it's called.
"I'm not back." - Bill Harding, Twister
"I'm not back." - Bill Harding, Twister
An elephant? An actual elephant. Into the apartment. How is the floor still here. Hold this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|