23.11.2014 Views

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

Data Structures and Algorithms in Java[1].pdf - Fulvio Frisone

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

consistent with one of the checks performed <strong>in</strong> the<br />

checkPosition convenience function.<br />

6.3 Iterators<br />

A typical computation on an array list, list, or sequence is to march through its<br />

elements <strong>in</strong> order, one at a time, for example, to look for a specific element.<br />

6.3.1 The Iterator <strong>and</strong> Iterable Abstract <strong>Data</strong> Types<br />

340

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!