标签:span exce capacity except pac illegal city 线程安全 ble
hashTable 的一些认识:
构造函数
/**
* Constructs a new, empty hashtable with a default initial capacity (11)
* and load factor (0.75).
*/
public Hashtable() {
this(11, 0.75f);
}
/**
* Constructs a new, empty hashtable with the specified initial capacity
* and default load factor (0.75).
*
* @param initialCapacity the initial capacity of the hashtable.
* @exception IllegalArgumentException if the initial capacity is less
* than zero.
*/
public Hashtable(int initialCapacity) {
this(initialCapacity, 0.75f);
}
标签:span exce capacity except pac illegal city 线程安全 ble
原文地址:http://www.cnblogs.com/romanjoy/p/7251203.html