|
|
|
|
|
|
P*******b 发帖数: 1001 | | f*********5 发帖数: 576 | 2 please search from web
BTW,you can ignore it if u didn't write JAVA in your resume
【在 P*******b 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 不是一回事吗?
| P*******b 发帖数: 1001 | 3 不会java。wiki上这么说的:
In computer science, a hash table or hash map is a data structure that uses
a hash function to map identifying values, known as keys, (e.g., a person's
name) to their associated values (e.g., their telephone number). The hash fu
nction is used to transform the key into the index (the hash) of an array el
ement (the slot or bucket) where the corresponding value is to be sought.
【在 f*********5 的大作中提到】![](/moin_static193/solenoid/img/up.png) : please search from web : BTW,you can ignore it if u didn't write JAVA in your resume
| f*********5 发帖数: 576 | 4 Q:
Difference between HashMap and HashTable?
A: The HashMap class is roughly equivalent to Hashtable, except
that it is unsynchronized and permits nulls. (HashMap allows null values
as key and value whereas Hashtable doesnt allow). HashMap does not
guarantee that the order of the map will remain constant over time.
HashMap is unsynchronized and Hashtable is synchronized.
uses
person's
hash fu
array el
sought.
【在 P*******b 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 不会java。wiki上这么说的: : In computer science, a hash table or hash map is a data structure that uses : a hash function to map identifying values, known as keys, (e.g., a person's : name) to their associated values (e.g., their telephone number). The hash fu : nction is used to transform the key into the index (the hash) of an array el : ement (the slot or bucket) where the corresponding value is to be sought.
| y****n 发帖数: 579 | 5 自己google嘛。
http://www.artima.com/forums/flat.jsp?forum=1&thread=78029
1. Both are classes comes under the util package and both are used to store
keyvalue pair values
2. Hashtable is synchronized and called as legacy classes Hashmap is Non -
synchronized & called as Non Legacy classes
(Serializable: it store the object state in ur machine ok. it similar to the
network layer process. while sending ur data to the other system through
network for avoiding pocket loss we use serialization. this proc | P*******b 发帖数: 1001 | 6 感觉都是针对java语言本书的实现
store
the
maintain
【在 y****n 的大作中提到】![](/moin_static193/solenoid/img/up.png) : 自己google嘛。 : http://www.artima.com/forums/flat.jsp?forum=1&thread=78029 : 1. Both are classes comes under the util package and both are used to store : keyvalue pair values : 2. Hashtable is synchronized and called as legacy classes Hashmap is Non - : synchronized & called as Non Legacy classes : (Serializable: it store the object state in ur machine ok. it similar to the : network layer process. while sending ur data to the other system through : network for avoiding pocket loss we use serialization. this proc
|
|
|
|
|
|
|