Properties简介——高淇JAVA300讲笔记之Hashtable
摘要:
一、Hashtable与HashMap的区别 1、主要:Hashtable线程安全,同步,效率相对低下 HashMap线程不安全,非同步,效率相对高 2、父类:Hashtable 是Dictionary HashMap 是AbstractMap 3、null: Hashtable键与值不能为null 阅读全文
posted @ 2018-01-24 20:29 爱游泳的小飞象 阅读(263) 评论(0) 推荐(0) 编辑