code: public void clear(boolean shrink) {
  		if (elementCount > 0) {
  			elementCount = 0;
  		}
  		if (shrink && ((elementKeys.length > 1024) && (elementKeys.length > defaultSize))) {
  			elementKeys = newKeyArray(defaultSize);
  			elementValues = newElementArray(defaultSize);
  		} else {
  			Arrays.fill(elementKeys, Integer.MIN_VALUE);
  			Arrays.fill(elementValues, null);
  		}
  		computeMaxSize();
  	}
docs: Removes all mappings from this hash map, leaving it empty.
  
  @see #isEmpty
  @see #size