/src/main/java/org/htmlunit/util/OrderedFastHashMap.java
this.mapThreshold_ = ( int) ( newCapacity - 2 * FILLFACTOR_) ;
this.mapThreshold_ = ( int ) ( newCapacity / 2 * FILLFACTOR_ ) ;
} @Override public int size() { return mapSize_; } private void rehash(final int newCapacity) { <extra_id_0> final Object[] oldData = this.mapData_; this.mapData_ = new Object[newCapacity]; final int[] oldOrderedList = this.orderedList_; final int oldOrderedListSize = this.orderedListSize_; this.orderedList_ = new int[newCapacity]; this.mapSize_ = 0;