code: public void ensureCapacity(int minimumCapacity) {
          if (mHashes.length < minimumCapacity) {
              final int[] ohashes = mHashes;
              final Object[] oarray = mArray;
              allocArrays(minimumCapacity);
              if (mSize > 0) {
                  System.arraycopy(ohashes, 0, mHashes, 0, mSize);
                  System.arraycopy(oarray, 0, mArray, 0, mSize);
              }
              freeArrays(ohashes, oarray, mSize);
          }
      }
docs: Ensure the array map can hold at least <var>minimumCapacity</var>
  items.