When using the index here, it the index needs to be decremented once an element is removed. To cirecumvent this, the native Collections.removeIf() method is used. |
||
---|---|---|
.. | ||
src | ||
build.gradle |
When using the index here, it the index needs to be decremented once an element is removed. To cirecumvent this, the native Collections.removeIf() method is used. |
||
---|---|---|
.. | ||
src | ||
build.gradle |