How to group the values in Multihaspmap?
<p>How to group the values and key in multihashmap ? Please help me to get the format as mention below format .</p>

<pre><code>public static void main(String[] args) { 
                  MultiHashMap mp=new MultiHashMap();
                  StringBuilder b = new StringBuilder();
                  mp.put("a", 10); 
                  mp.put("a", 11); 
                  mp.put("a", 12); 
                  mp.put("b", 13); 
                  mp.put("c", 14); 
                  mp.put("e", 15);
                  mp.put("b", 1);
                  mp.put("b", 2);
                  mp.put("b", 3);
                  List list = null; 

                  Set set = mp.entrySet(); 
                  Iterator i = set.iterator(); 
                  while(i.hasNext()) { 
                     Map.Entry me = (Map.Entry)i.next(); 
                     list=(List)mp.get(me.getKey());

                     for(int j=0;j&lt;list.size();j++) 
                     { 

                      System.out.println(me.getKey()+": value :"+list.get(j)); 
                     } 
                  }

               } 
</code></pre>

<p>Above program output is :</p>

<pre><code>e: value :15
b: value :13
b: value :1
b: value :2
b: value :3
c: value :14
a: value :10
a: value :11
a: value :12
</code></pre>

<p>I would like to get values :</p>

<pre><code>e: value :15
b: value :13 1 2 3
b: value :13 1 2 3
b: value :13 1 2 3
b: value :13 1 2 3
c: value :14
a: value :10 11 12
a: value :10 11 12
a: value :10 11 12
</code></pre>

<p>How to get the values as like above ? </p>
