swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Object wrappers and Lists in ObjectiveC and Java


From: Nick Collier
Subject: Re: Object wrappers and Lists in ObjectiveC and Java
Date: Fri, 30 Jun 2000 12:05:25 -0500

Tee Toth-Fejel wrote:

> I'm a newbie to Swarm, though I've done one Java project so far, so I have
> what  may be a stupid question.  Didn't you mean Integer(i) instead of
> Integer(2)?
> If not, why not?
> 
> >Vector v = new Vector();
> >int i = 2;
> >v.add(new Integer(2));
>                    ^  right there

Oops. Your right - I did mean Integer(i), but 2 works just as well :)

Nick


> Tihamer "Tee" Toth-Fejel                    Member of Technical Staff
> (734) 623-2544   address@hidden      http://www.anteaters.net/ttf/
> Center for Electronic Commerce, Environmental Research Institute of Michigan
> 
>                   ==================================
>    Swarm-Support is for discussion of the technical details of the day
>    to day usage of Swarm.  For list administration needs (esp.
>    [un]subscribing), please send a message to <address@hidden>
>    with "help" in the body of the message.

-- 
Nick Collier
Social Science Research Computing
University of Chicago
http://repast.sourceforge.net

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]