🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #688

Re: dynamic arrays

#688
From: Paul Murray
Date: Sat, 20 May 2000 00:00
24 lines
1759 bytes
in JDK1.2 - use a java.util.arrayList . in Jdk1.1, use a java.util.Vector

--
--------------------------------------------------------------
http://www.users.bigpond.com/pmurray
ICQ: 26066755
"someguy" <someguy@somewhere.com> wrote in message
news:958656104.72811@brs.ihug.com.au...
> i am having some difficulties with using undefined array lengths can
anyone
> help?
>
> The problem is when u declare an array u can only setits size once,
however
> i need to make the array grow larger at certain times.  I have thought of
> various ways of doing this in methods but itbecame difficult handling the
> variables due to scope issue.  So i gueess is there such a thing in java
as
> a linked list where at any point i can add or insert an element into the
> list dynamically? or do you have any other suggestions?
>
> help is appreciated.
>
>
Technical Details
Message-ID: <J6mV4.3528$c5.8171@newsfeeds.bigpond.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <958656104.72811@brs.ihug.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fdb77,2738036dde0b002c
X-Google-Attributes: gidfdb77,public
X-Google-Thread: 10d6db,2738036dde0b002c
X-Google-Attributes: gid10d6db,public
X-Google-Thread: 113ae9,2738036dde0b002c
X-Google-Attributes: gid113ae9,public
From: "Paul Murray" <pmurray@nospam.bigpond.com>
Subject: Re: dynamic arrays
Date: 2000/05/20
Message-ID: <J6mV4.3528$c5.8171@newsfeeds.bigpond.com>
X-Deja-AN: 625604886
References: <958656104.72811@brs.ihug.com.au>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Trace: newsfeeds.bigpond.com 958787113 139.134.125.54 (Sat, 20 May 2000 11:45:13 EST)
Organization: Telstra BigPond Internet Services (http://www.bigpond.com)
X-MSMail-Priority: Normal
NNTP-Posting-Date: Sat, 20 May 2000 11:45:13 EST
Newsgroups: aus.computers.java,comp.lang.java.advocacy,comp.lang.java.help