SortedMap conatinsValue() method in Java with Examples
The containsValue() method is used to check whether a particular value is being mapped by a single or more than one key in the SortedMap. It takes the value as a parameter and returns True if that value is mapped by any of the keys in the map. Syntax: boolean containsValue(Object Value) Parameters: