title: Not able to understand a part of a Java Map interface tut on docs.oracle
body: <p>The text I did not understood was:</p>
  
  <blockquote>
    <p>In addition to its (Map interface's) obvious use of dumping one Map into another, it has
    a second, more subtle use. Suppose a Map is used to represent a
    collection of attribute-value pairs; the putAll operation, in
    combination with the Map conversion constructor, provides a neat way
    to implement attribute map creation with default values. The following
    is a static factory method that demonstrates this technique.</p>
  </blockquote>
  
  <pre><code>  static &lt;K, V&gt; Map&lt;K, V&gt; newAttributeMap(Map&lt;K, V&gt;defaults, Map&lt;K, V&gt; overrides) {
        Map&lt;K, V&gt; result = new HashMap&lt;K, V&gt;(defaults);
        result.putAll(overrides);
        return result;
    }
  </code></pre>
  
  <p>You can find it <a href="http://docs.oracle.com/javase/tutorial/collections/interfaces/map.html" rel="nofollow">here</a> under title "Map Interface Bulk Operations"</p>