code: public static <K, V> HashMap<K, V> optimizedHashMap(final int s,
              final float lf) {
          return new HashMap<K, V>(s, lf);
      }
docs: Returns a hash map of type {@code K, V} optimized to the specified
  capacity and load factor.
  <p>
  Use optimized hash maps when the capacity of a hash map is known to be
  greater than sixteen (the default initial capacity) and a load factor is
  desired to control resizing behavior. The hash map implementation will
  automatically adjust the size to the next nearest power of two.
  </p>
  
  @param <K> Formal type parameter key
  @param <V> Formal type parameter value
  @param s Initial hash map capacity
  @param lf Hash map load factor
  @return Hash map of type {@code K, V}