🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #676

dynamic arrays

#676
From: someguy
Date: Thu, 18 May 2000 00:00
11 lines
1486 bytes
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: <958656104.72811@brs.ihug.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fdb77,2738036dde0b002c,start
X-Google-Attributes: gidfdb77,public
X-Google-Thread: 10d6db,2738036dde0b002c,start
X-Google-Attributes: gid10d6db,public
X-Google-Thread: 113ae9,2738036dde0b002c,start
X-Google-Attributes: gid113ae9,public
From: "someguy" <someguy@somewhere.com>
Subject: dynamic arrays
Date: 2000/05/18
Message-ID: <958656104.72811@brs.ihug.com.au>
X-Deja-AN: 624975219
Cache-Post-Path: brs.ihug.com.au!unknown@p78-tnt1.brs.ihug.com.au
X-Priority: 3
X-Server-Date: 18 May 2000 13:21:45 GMT
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Organization: The Internet Group (Brsbane)
X-MSMail-Priority: Normal
Keywords: array undefined length dynamic linked list
X-Cache: nntpcache 2.3.3b4 (see http://www.nntpcache.org/)
Reply-To: "someguy" <someguy@somewhere.com>
Newsgroups: aus.computers.java,comp.lang.java.advocacy,comp.lang.java.help