Search:

Type: Posts; User: copeg

Search: Search took 0.07 seconds.

  1. Re: Singletons - I'm having a hard time understand how to implement them.

    Having a getInstance() method and/or a private/protected constructor does not define a Singleton - it is defined just as Norm has defined it: there exists one instance in an application.
  2. Re: Singletons - I'm having a hard time understand how to implement them.

    Calendar is NOT an example of a Singleton. Once again feeding incorrect information. The Runtime class is a much better example of why you would want only a single instance of a class in an...
Results 1 to 2 of 2