android/guava/src/com/google/common/collect/CompactHashMap.java
void resizeEntries(int newCapacity) {
    this.keys = Arrays.copyOf(keys, newCapacity);
    this.values = Arrays.copyOf(values, newCapacity);
    long[] entries = this.entries;
    int oldCapacity = entries.length;
    entries = Arrays.copyOf(entries, newCapacity);
    if (newCapacity > oldCapacity) {
      Arrays.fill(entries, oldCapacity, newCapacity, UNSET);
    }
    this.entries = entries;
  }
void resizeEntries(int newCapacity) {
    this.keys = Arrays.copyOf(keys, newCapacity);
    this.values = Arrays.copyOf(values, newCapacity);
    long[] entries = this.entries;
    int oldCapacity = entries.length;
    entries = Arrays.copyOf(entries, newCapacity);
    if (newCapacity > oldCapacity) {
      Arrays.fill(entries, oldCapacity, newCapacity, UNSET);
    }
    this.entries = entries;
  }
void resizeEntries ( int newCapacity ) { this . keys = Arrays . copyOf ( keys , newCapacity ) ; this . values = Arrays . copyOf ( values , newCapacity ) ; long [ ] entries = this . entries ; int oldCapacity = entries . length ; entries = Arrays . copyOf ( entries , newCapacity ) ; if ( newCapacity > oldCapacity ) { Arrays . fill ( entries , oldCapacity , newCapacity , UNSET ) ; } this . entries = entries ; }
Resizes the internal entries array to the specified capacity, which may be greater or less than
the current capacity.
Resizes the internal entries array to the specified capacity which may be greater or less than the current capacity .