This paragraph applies to maps created using a special constructor that makes an iteration order based on the last access order (against the insertion order for the standard LinkedHashMap.
It simply says that if the K key is on the map and you call putAll(someOtherMap) , where someOtherMap contains K too, this will be considered access to K and it will be moved to the end of the map (in terms of iterative order).
In other words, in terms of access, putAll equivalent to for (Entry e : entries) map.put(e); (in pseudo-code).
Thoughtful example:
public static void main(String[] args) throws Exception { Map<String, String> m = new LinkedHashMap<> (16, 0.75f, true); m.put("a", "a"); m.put("b", "b"); System.out.println("m = " + m);
source share