I was reading a properties of HashMap. And found an answer on SO having lot of votes which says:
Iterator in the HashMap is fail-safe while the enumerator for the Hashtable is not.
While the JavaDoc says
The iterators returned by all of this class's "collection view methods" are fail-fast:
Actually the number of votes on that answered has confused me. Else I think it is fail-fast only.
Can someone explain?