Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

singleton names

14 views
Skip to first unread message

bob

unread,
May 15, 2012, 2:53:10 PM5/15/12
to
What are some of the most common names of the static function that returns a singleton object?

For instance, there is "sharedInstance".

rossum

unread,
May 16, 2012, 7:34:42 AM5/16/12
to
On Tue, 15 May 2012 11:53:10 -0700 (PDT), bob <b...@coolfone.comze.com>
wrote:

>What are some of the most common names of the static function that returns a singleton object?
>
>For instance, there is "sharedInstance".
How about getSharedInstance() or getSingleton()?

rossum

hgsch...@gmail.com

unread,
May 16, 2012, 1:10:14 PM5/16/12
to
Or even getInstance()

hgsch...@gmail.com

unread,
May 16, 2012, 1:10:14 PM5/16/12
to
Or even getInstance()

bob

unread,
May 22, 2012, 3:32:42 PM5/22/12
to
On Wednesday, May 16, 2012 12:10:14 PM UTC-5, hgsch...@gmail.com wrote:
> Or even getInstance()

Or even Instance()
0 new messages