title: Delete duplicate lines from a String in Java
body: <p>My string is:</p>
  
  <pre><code>"EEE
  EEE
  AAA
  BBB
  CCC
  BBB
  DDD
  CCC"
  </code></pre>
  
  <p>But I need to without same lines this string.
  Like this:</p>
  
  <pre><code>"EEE
  AAA
  BBB
  CCC
  DDD"
  </code></pre>
  
  <p>How can I do it?</p>