Map.valueSet Method
Returns a set that contains the values mapped to by the keys in a map.
Syntax
public Set valueSet()
Run On
Called
Return Value
Type: Set Class
A set that contains the values from the map.
Remarks
If all of the keys map to different values, the number of elements in the set are equal to the number of elements in the map.