title: Java 8: Change the values of an EntrySet stream
body: <p>I have the following setup:</p>
  
  <pre><code>Map&lt;Instant, String&gt; items;
  ...
  String renderTags(String text) {
      // Renders markup tags in a string to human readable form
  }
  ...
  &lt;?&gt; getItems() {
      // Here is where I need help
  }
  </code></pre>
  
  <p>My problems is, the strings that are the values of the <code>items</code> map are marked up with tags.  I want <code>getItems()</code> to return all the items, but with the strings parsed using the <code>renderTags(String)</code> method.  Something like:</p>
  
  <pre><code>// Doesn't work
  items.entrySet().stream().map(e -&gt; e.setValue(renderTags(e.getValue())));
  </code></pre>
  
  <p>What is the most effective way to do this?</p>