The following is from the Implementation Note section of Java doc of EnumMap :
Implementation note: All basic operations execute in constant time. They are likely (though not guaranteed) to be faster than their HashMap counterparts.
I have seen a similar line in the java doc for
EnumSet also . I want to know why is it more likely that
EnumMaps will be more faster than their hashed counterparts ?