From: http://stackoverflow.com/questions/510632/ Whats-the-difference-between-concurrenthashmap-and-collections-synchronizedmap
Http://javarevisited.blogspot.hk/2011/04/difference-between-concurrenthashmap.html
╔═══════════════╦═══════════════════╦═══════════════════╦═════════════════════╗║property║hashmap║ha Shtable║concurrenthashmap║╠═══════════════╬═══════════════════╬═══════════════════╩═════════════════════╣║ Null║allowed║not Allowed║║values/keys║║ ║╠═══════════════╬═══════════════════╬═════════════════════════════════════════╣║is Thread-sa Fe║no║yes║╠═══════════════╬═══════════════════╬═══════════════════ ╦═════════════════════╣║lock║not║locks the Whole║locks the Portion║║mechanism ║applicable║map║║╠═══════════════╬═══════════════════╩═════════════════ ══╬═════════════════════╣║iterator║fail-fast║fail-safe║╚═══════════════╩ ═══════════════════════════════════════╩═════════════════════╝
What ' s the difference between Concurrenthashmap and Collections.synchronizedmap (MAP)?