HashMap与HashTable的区别

HashMap中可以插入相同的键,后插入的键将覆盖原有的键,HashTable中的键是唯一的,不能插入相同的键

posted @ 2009-12-17 22:18  天涯狂客  阅读(120)  评论(0编辑  收藏  举报