If I have a map and an object as map key, are the default hash and equals methods enough?
class EventInfo{ private String name; private Map
Yes, you need them else you won't be able to compare two EventInfo (and your map won't work).