I am removing things from an arraylist while inside a loop. I noticed that when I have two things in a row that need to be removed, it misses the second one. 
For example, my code checks whether a number in the arraylist is smaller than a static number. I have:

```
arraylist[2,5,15,30]

```

and I am checking it against 

```
check = 10

```

so I have a loop 

```
for (int i=0;i<arraylist.size();i++){
    if(check > arraylist.get(i){
        arraylist.remove(i);
    }
}

```

I am pretty sure I am missing the second one because originally my arraylist is numbered this way:

```
          0,1,2, 3
arraylist[2,5,15,30]

```

And after it removes the first entry it changes it to:

```
          0,1, 2
arraylist[5,15,30]

```

And I already checked 0, so I don't need to check it again. 
Is there a simple way to go about fixing this? Without changing my data structure? 
Thanks