title: Java - Replace single element with multiple elements from list
body: <p>I want to replace single object from <code>List&lt;String&gt;</code> with multiple objects.</p>
  
  <pre><code>List&lt;String&gt; list = new ArrayList&lt;&gt;(Arrays.asList("ROLL_NO","FULL_NAME","PERCENTAGE", "ADDRESS")); 
  </code></pre>
  
  <p>I want to replace "FULL_NAME" with "FIRST_NAME" AND "LAST_NAME". So my list elements will be like as</p>
  
  <pre><code>"ROLL_NO",
  "FIRST_NAME", 
  "LAST_NAME",
  "PERCENTAGE", 
  "ADDRESS"
  </code></pre>
  
  <p><code>Collections.replaceAll()</code> method replaces with single object only.</p>
  
  <p>Is there a better way with java8 stream?</p>
  
  <p>Thanks in advance. </p>