[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Object wrappers and Lists in ObjectiveC and Java
From: |
Tee Toth-Fejel |
Subject: |
RE: Object wrappers and Lists in ObjectiveC and Java |
Date: |
Fri, 30 Jun 2000 13:02:43 -0400 |
-----Original Message-----
From: Nick Collier [mailto:address@hidden
Sent: Friday, June 30, 2000 10:39 AM
To: address@hidden; address@hidden
Subject: Re: Object wrappers and Lists in ObjectiveC and Java
>If you mean putting primitive "int"s into a Java collection, you do need
>to create their Object equivalents. So,
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
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.