Article View: borland.public.jbuilder.java.language
Article #8727Re: Declaring an Array of Strings?
From: Torsten Welches
Date: Fri, 09 Mar 2001 14:04
Date: Fri, 09 Mar 2001 14:04
22 lines
1845 bytes
1845 bytes
Hartmut, ArrayList is part of Java2's collection framework. Read about it here: http://developer.java.sun.com/developer/onlineTraining/collections/Collection.html The biggest difference between Vector and ArrayList is that ArrayList is not synchronized. That's why ArrayList will indeed perform better if you do not need automatic synchronization. Torsten "Hartmut" <hartmut.kiessling@bnhof.de> wrote: >I hear the first time about ArrayList. All literature seems to >suggest Vector only. >Interesting! > >Can you tell one or some sentences about the difference between >both, and if there's a general recommendation? >ArrayList seems to have less methods, but the standard one >should need. Is it more performant?
Technical Details
Message-ID:
<3aa8e2df$1_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!207.105.83.65References:
<3aa6df5f$1_2@dnews> <uu254bq17.fsf@sds.no> <3aa7a736_2@dnews> <3AA7C6C2.8F36FA7F@borland.com> <3aa7d567$1_2@dnews> <MPG.15120441e52e5bb798a036@forums.borland.com> <3aa89cb9_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,9324d780b1c839d2 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-03-09 06:07:22 PST From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Sender: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Reply-To: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Subject: Re: Declaring an Array of Strings? Newsgroups: borland.public.jbuilder.java.language X-User-Info: 193.158.55.74 193.158.55.74 References: <3aa6df5f$1_2@dnews> <uu254bq17.fsf@sds.no> <3aa7a736_2@dnews> <3AA7C6C2.8F36FA7F@borland.com> <3aa7d567$1_2@dnews> <MPG.15120441e52e5bb798a036@forums.borland.com> <3aa89cb9_1@dnews> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3aa8e2df$1_2@dnews> Date: 9 Mar 2001 06:04:15 -0800 X-Trace: 9 Mar 2001 06:04:15 -0800, 207.105.83.65 Lines: 25 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news-out.usenetserver.com!news-out-sjo.usenetserver.com!newsfeed.direct.ca!look.ca!hub.org!hub.org!PeerFeed.KWeb.on.ca!bornews.borland.com!dnews!207.105.83.65