Skip to content · ⁨Pular para o conteúdo⁩

ArrayList algorithms: filter and the remove bug · ⁨Algoritmos de ArrayList: filtro e o bug de remove⁩

English

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.
Português

Trabalhando com toda a lista

  • Agora você pode armazenar dados em um ArrayList. Na próxima, vamos processá-los.
  • Tarefas comuns: contar itens que atendem a uma regra, filtrá-los em uma nova lista e remover alguns deles.
  • Todas essas usam um loop sobre a lista.

Handout · ⁨Material de apoio⁩

Log in or create account · ⁨Entrar ou criar conta⁩

IGCSE, A-Level & AP