Well, for one thing, Vectors are synchronized and ArrayLists aren't. So the
latter are faster (I've heard something like 20% faster) and preferable when
you don't need synchronization. Same goes for Hashtable vs. HashMap and in
general old vs new collection classes.

Boris

On Fri, 01 Feb 2002, you wrote:
> Hi Chuck,
> 
> I use Vector all the time. I'm curious why who feel that List/ArrayList is
> preferable.
> 
> Dave D
> 
> 
> ----- Original Message -----
> From: "Chuck Cavaness" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 01, 2002 2:37 AM
> Subject: Re: Are Vectors in a FormAction set to null after a user has
> submitted a form?
> 
> 
> >
> > p.s. Is anyone really using the Vector class anymore? Why aren't you using
> List/ArrayList? Just curious.
> > --
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to