Thursday, February 14, 2008

Safe HashMap

This is a really cool class that allows for lazy initialization and removed the possibility of having null values in the HashMap. Another nice feature is that it is generics-capable.

Now if this class was thread safe, we would have a complete solution....


No comments: