Discussion Board
Go to the previous messageGo to the following message
Current Forum: Homework 3 Forum
Date: Sat Sep 29 2001 4:15 pm
Author: Liu, Limin Angela <laliu@andrew.cmu.edu>
Subject: Re: Convert Object to Int

Try:

( (Integer)vector.elementAt(i) ).intValue();

I'd like to know more ways, maybe more elegant ways of doing this.
Post response

Go to the previous messageGo to the following message
Current Thread Detail:
Convert Object to Int      Vangaalen, Alexander      Sat Sep 29 2001 3:39 pm       
Re: Convert Object to Int      Liu, Limin Angela      Sat Sep 29 2001 4:15 pm       
Re: Convert Object to Int      Yuen, John      Sun Sep 30 2001 6:51 pm       

Back to previous screen