posted 10 years ago
The structure of a Map is different from that of the other collections. A map is a collection but technically speaking Map is not a collection since it does not inherit from the Collection interface. Some methods may not make sense for Maps like add(Object o). This is because of the <Key,Value> structure of Maps.