Hi Devesh,
No.
A hashcode relates to objects. A Set can have a hashcode and so can a Map. But the hashcode for the set or Map objects won't relate to the internals of the Set or Map. Each object contained in a Set or Map has its' own hashcode ...
The key is a
string used by Maps to directly access a stored object. There might be some internal correlation between object hashcodes and keys but we as API users are not privy to that information.
As far as
Java programming goes, Map keys and Object hashcodes are separate chapters of the same book ...
Regards,
Manfred.