🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #14953

Re: Vector of ints?

#14953
From: Jason Burton
Date: Tue, 20 Jul 1999 00:00
15 lines
939 bytes
Marie Ricketts <Marie.G.Ricketts@dartmouth.edu> wrote in message
news:3794D472.8EEC1021@dartmouth.edu...
> How can I make a Vector of ints?  There must be a workaround for the "no
>
> primatives" rule.
>
> Thanks in advance for any ideas.

Every time I have needed to do this, I have used the Integer class instead
of the int type:

myVector.addElement(new Integer(10));

Jason
Technical Details
Message-ID: <7n2lbq$i2417@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3794D472.8EEC1021@dartmouth.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,a318191aa3403cad
X-Google-Attributes: gidf74b3,public
From: "Jason Burton" <Jason.Burton@McLeodSoftware.com>
Subject: Re: Vector of ints?
Date: 1999/07/20
Message-ID: <7n2lbq$i2417@forums.borland.com>
X-Deja-AN: 503260284
References: <3794D472.8EEC1021@dartmouth.edu>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Organization: Another Netscape Collabra Server User
X-MSMail-Priority: Normal
Newsgroups: borland.public.jbuilder.java.language