title: Rank ArrayList<String> with int in java
body: <p>I want to rank in java an <code>ArrayList&lt;String&gt;</code> with the number of times that the String appears.
  Like this: if I have an </p>
  
  <p><code>ArrayList&lt;String&gt;= [French, English, German, French, French, Belgium, English, Belgium]</code></p>
  
  <p>I count the number that <code>"French", "English", "Belgium",etc.</code> appear. So French appear 3 times, English 2 times, Belgium 2 times, German one times. Then I want to rank the <code>ArrayList&lt;String&gt;</code> in function of the number.</p>
  
  <p>The result will be:</p>
  
  <pre><code>French 3
  English 2 
  Belgium 2
  German 1
  </code></pre>
  
  <p>How I can do this? How to associate an integer and a String?</p>