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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Code Fragment 6.11: Portions of the<br />

NodePositionList class implement<strong>in</strong>g the node list<br />

ADT with a doubly l<strong>in</strong>ked list. (Cont<strong>in</strong>ued from Code<br />

Fragments 6.9 <strong>and</strong> 6.10.) Note that the mechanism<br />

used to <strong>in</strong>validate a position <strong>in</strong> the remove method is<br />

339

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

Saved successfully!

Ooh no, something went wrong!