wood burning stoves
The moose likes Java in General and the fly likes vector and arraylist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "vector and arraylist" Watch "vector and arraylist" New topic

vector and arraylist

suman deb
Ranch Hand

Joined: Jul 14, 2005
Posts: 54
What is the difference between vector and arraylist other than synchronization?
Abdulla Mamuwala
Ranch Hand

Joined: Jan 09, 2004
Posts: 225
Which is better
Tony Morris
Ranch Hand

Joined: Sep 24, 2003
Posts: 1608
When should I use java.util.Vector/java.util.Hashtable?


Tony Morris
Java Q&A (FAQ, Trivia)
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

ArrayList is the new hotness! Vector is passee. Always use ArrayList.
sarah Marsh
Ranch Hand

Joined: Mar 06, 2001
Posts: 282
We should use some other judgement instead of
new or passee, right?
Mark Wuest
Ranch Hand

Joined: Jun 07, 2003
Posts: 88
Originally posted by sarah Marsh:
We should use some other judgement instead of
new or passee, right?

You forgot about hotness. The "new hotness" is another thing entirely.

I saw some blurb once where they had all of these clips of Paris Hilton saying "That's hot." "That's hot." "That's hot."... It got funnier and funnier as it went along...

Now, every time I hear or see the word "hot" I think of some skinny blonde chick without enough clothes on saying, "That's hot."

Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Stacks are cool! Use stacks!

Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Queues! Queues!
They're what to use!

Oh, sorry. Got caught up there.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link: http://aspose.com/file-tools
subject: vector and arraylist
It's not a secret anymore!