Skip to content

Glossary: Java Beyond the Basics

Iterator

Also written: hasNext, iterator

An object that walks a collection one item at a time with hasNext and next, and can safely remove the item it just returned.

Where the book teaches it

Related terms

ConcurrentModificationException