title: Remove duplicates from List using Guava
body: <p>How can we remove duplicates from List with the help of <strong>Guava api</strong>?</p>
  
  <p>Currently I am following this:</p>
  
  <pre><code>private List&lt;T&gt; removeDuplicate(List&lt;T&gt; list){
  return new ArrayList&lt;T&gt;(new LinkedHashSet&lt;T&gt;(list));
  }
  </code></pre>