Re: difference between class with static method and singleton pattern

2003-02-10 Thread Ashish Kulkarni
Hi Thanx, that is what i exactly trying to do , build a program to work with escape charaters.. apache common-lang is a good set of utilities... Ashish --- Davor Cengija <[EMAIL PROTECTED]> wrote: > Ashish Kulkarni wrote: > > > Hi, > > > > If I have a class with a static synchronized > method >

Re: difference between class with static method and singleton pattern

2003-02-10 Thread Davor Cengija
Ashish Kulkarni wrote: > Hi, > > If I have a class with a static synchronized method > and a class with singleton pattern doing the same > function, wont the 2 be same, what may be the > performance issue, what should we use in programs, > The method i want to use is synchronized, so that no 2 >