![]() |
VOOZH | about |
This method is used to return a Set view of the keys contained in this map. The set is backed by the map, so changes to the map are reflected in the set, and vice-versa.
Example:
[1, 2]
Set keySet()
Parameters: This method has no argument.
Returns: This method returns a set containing keys of the specified map.
Below is the code to show implementation of hashCode():