[1512] in java-interest
Re: java-interest-digest V1 #150
daemon@ATHENA.MIT.EDU (Jonathan Payne)
Wed Sep 6 16:30:42 1995
Date: Wed, 6 Sep 1995 10:23:40 -0700
From: jpayne@starwave.com (Jonathan Payne)
To: java-interest@java.sun.com
In-Reply-To: <199509052357.QAA04731@webrunner.neato.org> (owner-java-interest-digest@java.sun.com)
From: vin@mufasa.Eng.Sun.COM (Vin Locke [CONTRACTOR])
Date: Tue, 5 Sep 1995 09:14:20 -0700
Subject: dynamic lists
I am trying to implement something on the level of a linked list of
indeterminate length in java. From reading the docs and hearing a few
talks, it seems that the Array is the data structure for this.
But doesn't the array need a size at time of creation?
Is there a way to "grow" an array (sort of a realloc)?
class Vector already does all this for you. Look at it's
implementation if you must have a class which is just for Strings.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com