Javatpoint Logo
Javatpoint Logo

Java IdentityHashMap hashCode() method

The hashCode() method of the Java IdentityHashMap is used to get the hashCode value of the calling IdentityHashMap.

Syntax

Return

The hashCode value for the calling IdentityHashMap.

Example 1

Test it Now

Output:

1026056478

Example 2

Test it Now

Output:

-1317024690



Help Others, Please Share

facebook twitter pinterest