Skip to content

ArrayList algorithms: filter and the remove bug

Handout

Doing work on a whole list

  • Now you can store data in an ArrayList. Next we process it.
  • Common jobs: count items that match a rule, filter them into a new list, and remove some of them.
  • All of these use a loop over the list.

Handout

Log in or create account

IGCSE & A-Level