code: public static <K, V> LinkedHashMap<K, V> newLinkedHashMap(Map<? extends K, ? extends V> map) {
      return new LinkedHashMap<K, V>(map);
    }
docs: Creates a <i>mutable</i>, insertion-ordered {@code LinkedHashMap} instance
  with the same mappings as the specified map.
  
  <p><b>Note:</b> if mutability is not required, use {@link
  ImmutableMap#copyOf(Map)} instead.
  
  <p><b>Note for Java 7 and later:</b> this method is now unnecessary and
  should be treated as deprecated. Instead, use the {@code LinkedHashMap}
  constructor directly, taking advantage of the new
  <a href="http://goo.gl/iz2Wi">"diamond" syntax</a>.
  
  @param map the mappings to be placed in the new map
  @return a new, {@code LinkedHashMap} initialized with the mappings from
  {@code map}