after further testing of the method it turn out that it don't work as expected.
I add three element to the list: 1 A, 2 B and 3 C.
The method is only abel to remove element which is on index 0 and not remove the number I want it to remove.
Any idea what I should do?
public Lot removeLot(int number)
if(number < 1)
System.out.println("This number does not exist " + number);
Iterator it = lots.iterator();
Lot lot = (Lot) it.next(); //number, description, gethighestbid
if(number == lot.getNumber())