Joanne Neal wrote:Map.keySet returns a Set of all the keys in the Map. If you want a Set of the key/value pairs in the map, use Map.entrySet();