SyntaxFix
Write A Post
Hire A Developer
Questions
In my case I did it like this:
int cursor = 0; do { if (integer.equals(remove)) integerList.remove(cursor); else cursor++; } while (cursor != integerList.size());