Java IdentityHashMap containsValue() methodThe containsValue(Object value) method of the Java IdentityHashMap class is used to check whether the calling IdentityHashMap contains the specified value. SyntaxParametersValue - The possible value which is to be checked in the calling IdentityHashMap. ReturnTrue, if the calling IdentityHashMap contains the specified value. Example 1Test it NowOutput: true false true false Example 2Test it NowOutput: true false true false
Next Topicjava IdentityHashMap
|