Lines Matching defs:newCapacity
498 * @param newCapacity the new capacity, MUST be a power of two;
503 void resize(int newCapacity) {
511 HashMapEntry[] newTable = new HashMapEntry[newCapacity];
514 threshold = (int)Math.min(newCapacity * loadFactor, MAXIMUM_CAPACITY + 1);
521 int newCapacity = newTable.length;
525 int i = indexFor(e.hash, newCapacity);
563 int newCapacity = table.length;
564 while (newCapacity < targetCapacity)
565 newCapacity <<= 1;
566 if (newCapacity > table.length)
567 resize(newCapacity);