1. 程式人生 > >maps in java(java)

maps in java(java)

put array sync implement str hashmap cal method tab

1  hashmap(abstractmap clonable serializable)

2  java.util.HashTable

collection未有之前的array implementation,drooped,但是 thread safe,overhead

thread寫map即call put 時,另一thread必須等put完成。整個map將被locked。每個public method都有synchronized keyword

3  

maps in java(java)