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.

The class, EulerTour, itself does not perform any useful computation.<br />

Nevertheless, we can extend it <strong>and</strong> override the empty auxiliary methods to do<br />

useful tasks. We illustrate this concept us<strong>in</strong>g arithmetic expression trees (see<br />

Example 7.9). We assume that an arithmetic expression tree has objects of type<br />

428

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

Saved successfully!

Ooh no, something went wrong!