posted 18 years ago
Hi Deepa,
It depends upon the amount of data you need to cache, but for what you want to achieve is quite good. You could look at the WeakHashMap as well, if you want your collection to implement soft references, or the org.apache.commons.collections.LRUMap.
Regards.
I think, therefore I exist -- Rene Descartes