First, Thanks to everyone who responded to my questions...

In researching data structures I found a great tutorial
http://www.algonet.se/~set_lo/java/javadata2/javadata2.html

I also came across the Vector class in jdk 1.2 which seems to be built for this
type of thing, however I haven't spent enough time with it to determine if it
is suitable for what I'm doing, I'm also curious how efficient it is. Is there
anyone out there who's worked extensively with it and can give me some tips on
it's use?

The only problem with the Vector class is it's name, possibly confusing to
those of us using Java3d.

Jeremy Buchmann wrote:

> The Casteels wrote:
> >
> > I'd love to here everyone's opinion on the following, positive or
> > negative.
> >
> > I'm looking for a faster way to append arrays. Up to this point I'm
> > creating a new array every time I need to append, giving it a length of
> > n+1 then copying the data from my previous array into the new one and
> > filling the last space with the new data.
>
> IMHO, you should look for a better data structure than an array...maybe
> a linked list, or a stack/queue, etc.  There are some books out there
> that describe the implementation of common data structures in Java, and
> there are lots of resources on java.sun.com.
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to