为什么 float loadfactor 会影响 HashSet?有什么意义呢?
最佳答案
你需要阅读 JavaDoc 中对 HashMap 的解释
The load factor is a measure of how full the hash table is allowed to get before its capacity is automatically increased.
http://download.oracle.com/javase/6/docs/api/java/util/HashMap.html
关于java - 对 HashSet 使用 float loadfactor 有什么影响?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7776112/