 how to remove old data into ArrayList?
<p>in my code have</p>

<pre><code>SearchBean sb=new SearchBean();
final static ArrayList&lt;SearchBean&gt; result=new ArrayList&lt;SearchBean&gt;();
public void addData()
{
.
.   (Adding data from data base into SearchBean object
.
result.add(sb);
}
public ArrayList&lt;SearchBean&gt; sendResult()
{
  return result;
}
</code></pre>

<p>Now i'm <code>return result</code>. first time it is giving correct but second time again that object also will be adding.
for example first time searching result <code>syam</code>(correct result) 
in second time searching actually <code>Ram</code> is the coorrect result but <code>syam,Ram</code> also coming...
please help me ...</p>

<pre><code>how to remove old data into ArrayList?
</code></pre>
