title: Move element from one array list to another java
body: <p>i have a problem</p>
  
  <p>I have two lists</p>
  
  <pre><code>List&lt;SellableItems&gt; table1 = new ArrayList();
  List&lt;SellableItems&gt; table2 = new Arraylist();
  </code></pre>
  
  <p>In my sellable items class, i have a name and a price.</p>
  
  <p>Now I wish to move elements from table1 to table2. So if i my list contains a beer with the price 20, i can move it from table1 to table2</p>