Tag: weakhashmap

WeakHashMap

WeakHashMap It is exactly same as HashMap, except the following difference. In the case of HashMap, an object is not eligible for garbage, if it is associated with HashMap, even though it doesn’t contain any external reference. i.e HashMap dominates garbage collector. But in the case of WeakHashMap, if an object is not having any […]