title: Using Guava multisets or Collections.frequency()?
body: <p>I was using <a href="http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/collect/Multiset.html" rel="nofollow"><code>Multiset</code></a> to have easy access to the freq of elements, but I realize there is <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collections.html#frequency-java.util.Collection-java.lang.Object-" rel="nofollow"><code>Collections#frequency(Collection&lt;?&gt;, Object)</code></a> that does the same for any collection. What is the point of using <code>Multiset</code> then? Is performance an issue here?</p>