How filter Same lat,log value in one list?
<p>I have web-service which give list of property at a particular area
       My problem is that all property have to show on map if any case there
       are more than two properties lat and long same in list then that property will shown on same bubbles on google map I have been parse the result but I unable to filter those properties which have same lat and long in xml.I am trying as  after parsinng an arraylist return :-</p>

<pre><code> private Vector groupTheList(ArrayList&lt;Applicationdataset&gt; arrayList) 
{
    Vector&lt;ArrayList&lt;Applicationdataset&gt;&gt; mgroupvector = new Vector&lt;ArrayList&lt;Applicationdataset&gt;&gt;();
    ArrayList&lt;Applicationdataset&gt; mfirstList = new ArrayList&lt;Applicationdataset&gt;();
    ArrayList&lt;Applicationdataset&gt; mylist=null;
    int sizeoflist = arrayList.size();
    for(int index =0;index&lt;arrayList.size();index++)
    {
         //ArrayList&lt;Applicationdataset&gt; mylist= mgroupvector.get(index);
         if(mylist==null)
         {
             mylist = new ArrayList&lt;Applicationdataset&gt;(); 
         }
         mfirstList.add(arrayList.get(index));

        for(int mindex=1;mindex&lt;arrayList.size();mindex++)
        {
         if(arrayList.get(index).getLatitude().equalsIgnoreCase(arrayList.get(mindex).getLatitude()) &amp;&amp;
                 arrayList.get(index).getLongitude().equalsIgnoreCase(arrayList.get(mindex).getLongitude()))
         {
             mfirstList.add(arrayList.get(mindex));
             arrayList.remove(mindex);
         }
        }
        mylist.addAll(mfirstList);
        mgroupvector.add(mylist);
        mfirstList.clear();
        arrayList.remove(index);
        index-=1;
    }
    mgroupvector.add(arrayList);
    return mgroupvector;

}   
</code></pre>

<p>but further I have unable to do any one please help me. Please anyone help me.</p>
