Skip to content · ⁨ข้ามไปยังเนื้อหา⁩

ArrayList algorithms: filter and the remove bug · ⁨ArrayList algorithms: filter และ error bug ของ 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.
ไทย

การทำงานกับทั้งรายการ

  • ตอนนี้คุณสามารถเก็บข้อมูลใน ArrayList接下来 เรา process ข้อมูลนั้น
  • งานทั่วไป: count องค์ประกอบที่ตรงกับกฎ, filter它们 into一个新列表, และ remove บางส่วนออก
  • ทั้งหมดนี้ใช้ลูปวนรอบรายการ

Handout · ⁨เอกสารประกอบการเรียน⁩

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP