类及属性
1 | public class Hashtable<K,V> extends Dictionary<K,V> |
构造方法
1 | public Hashtable(int initialCapacity, float loadFactor) { |
put方法
1 | public synchronized V put(K key, V value) { |
addEntry方法
1 | private void addEntry(int hash, K key, V value, int index) { |
rehash方法
1 | protected void rehash() { |
get方法
1 | public synchronized V get(Object key) { |
remove方法
1 | public synchronized V remove(Object key) { |