Discussion Board
Go to the previous messageThere are no next messages
Current Forum: Homework 5 - Part 3
Date: Fri Nov 16 2001 1:06 pm
Author: Cipriani, Jason A. <jac4@andrew.cmu.edu>
Subject: Re: Add Edge?

perhaps you add an item to a vector that was some type of class, and then, when you got the item later, you attempted to cast it to a type of class that it couldn't be cast to...maybe?

like:

// one place
Vector a;
a.add(myWebVertex);

// another place
PageHref p = (PageHref)a.get(someIndex);

Post response

Go to the previous messageThere are no next messages
Current Thread Detail:
Add Edge?      Drozd, William A.      Fri Nov 16 2001 5:25 am       
Re: Add Edge?      Cipriani, Jason A.      Fri Nov 16 2001 1:06 pm       

Back to previous screen