java.util.Hashtable.rehash()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(3.3k)|赞(0)|评价(0)|浏览(172)

本文整理了Java中java.util.Hashtable.rehash()方法的一些代码示例,展示了Hashtable.rehash()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Hashtable.rehash()方法的具体详情如下:
包路径:java.util.Hashtable
类名称:Hashtable
方法名:rehash

Hashtable.rehash介绍

[英]Increases the capacity of this Hashtable. This method is called when the size of this Hashtable exceeds the load factor.
[中]增加此哈希表的容量。当此哈希表的大小超过加载因子时,将调用此方法。

代码示例

代码示例来源:origin: commons-logging/commons-logging

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: robovm/robovm

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: robovm/robovm

rehash();  // Does nothing!!
tab = doubleCapacity();
index = hash & (tab.length - 1);

代码示例来源:origin: robovm/robovm

rehash();  // Does nothing!!

代码示例来源:origin: camunda/camunda-bpm-platform

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: MobiVM/robovm

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: ibinti/bugvm

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.apache.commons.logging

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: edu.internet2.middleware.grouper/grouperClient

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: apache-logging/commons-logging

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: apache/activemq-artemis

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: apache/activemq-artemis

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: Nextdoor/bender

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: org.apache.openjpa/openjpa-all

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: com.impetus.fabric/fabric-jdbc-driver-shaded

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * @see Hashtable
 */
protected void rehash() {
  // purge here to save the effort of rehashing dead entries
  purge();
  super.rehash();
}

相关文章