Java IdentityHashMap equals() methodThe equal() method of the Java IdentityHashMap is used to check the equality of specified Object with the calling IdentityHashMap. SyntaxParameterso - Object whose equality is to be compared with the calling IdentityHashMap. ReturnTrue, if the specified object is equal to the calling IdentityHashMap. Example 1Test it NowOutput: true false false Example 2Test it NowOutput: true false false
Next Topicjava IdentityHashMap
|