According to the HashMapdoc on entrySet():
public Set> entrySet ()
Added to API level 1 Returns a set containing all the mappings in this map. Each mapping is an instance of Map.Entry. Since many are backed by this map, changes in one will be reflected in the other.
Returns a set of mappings.
But when I check the code HashMap, I can not understand how the field entrySetis associated with tableor any other object.
I am trying to understand how it is entrySetupdated when a method is called put().
source
share