private boolean tryRehashForExpansion() { int newCapacity = nearestGreaterCapacity(config.grow(capacity()), currentOrdinal, false); if (newCapacity > capacity()) { rehashTimer.start(); rehash(newCapacity); rehashCount++; rehashTimer.stop(); return true; } else { return false; } }
private int grownCapacity() { return nearestGreaterCapacity(configWrapper.grow(capacity()), size, doubleSizedArrays()); } }
private int grownCapacity() { return nearestGreaterCapacity(configWrapper.grow(capacity()), size, doubleSizedArrays()); } }
private int grownCapacity() { return nearestGreaterCapacity(configWrapper.grow(capacity()), size, doubleSizedArrays()); } }
private int grownCapacity() { return nearestGreaterCapacity(configWrapper.grow(capacity()), size, doubleSizedArrays()); } }