创建: 2020/11/21
完成: 2020/11/21
https://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html
构造函数 |
Hashtable<K, V>() |
|
Hashtable<K, V>(int n) |
|
Hashtable<K, V>(int n, float lf) |
|
|
实例函数 |
void clear() |
|
判断 |
boolean isEmpty() |
|
boolean contains(Object v) throws NullPointerException |
对比的是value不是key |
boolean containsKey(Object k) |
|
boolean containsValue(Object v) |
|
|
Enumeration<K> keys() |
|
Enumeration<V> elements() |
|
Object get(Object k) |
|
Object put(K k, V v) throws NullPointerException |
|
V remove(Object k) |
返回的是value, 不带key |
int size() |
|
String toString() |
|
|
|
|