Reputation: 83
is there any inverse function of System.identityHashCode (object) which is able to provide the value of the object from the result of System.identityHashCode (object)?
Upvotes: 2
Views: 77
Reputation: 3654
System.identityHashCode()
returns a hash value for an object.
It is possible to have equal hash values for more then one object.
So revers function is impossible by design.
Upvotes: 1