Please edit the post and format the code so it is readable. What you've posted is very hard to read and understand. No one writes code like that.
Also wrap your code with
<YOUR CODE HERE>
...
Type: Posts; User: Norm
Please edit the post and format the code so it is readable. What you've posted is very hard to read and understand. No one writes code like that.
Also wrap your code with
<YOUR CODE HERE>
...
Read more of the book to see if there is a place you can download the definition for the class from.