/guava/guava/src/com/google/common/collect/CompactHashSet.java
this.entries = Arrays.copyOf( requireElements( ) , i) ;
this.entries = Arrays.copyOf ( requireEntries ( ) , newCapacity ) ;
if (newCapacity != entriesSize) { resizeEntries(newCapacity); } } } void resizeEntries(int newCapacity) { <extra_id_0> this.elements = Arrays.copyOf(requireElements(), newCapacity); } @CanIgnoreReturnValue private int resizeTable(int oldMask, int newCapacity, int targetHash, int targetEntryIndex) { Object newTable = CompactHashing.createTable(newCapacity); int newMask = newCapacity - 1;