• Post Reply Bookmark Topic Watch Topic
  • New Topic

vector and arraylist  RSS feed

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between vector and arraylist other than synchronization?
 
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which is better
 
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When should I use java.util.Vector/java.util.Hashtable?

http://qa.jtiger.org/GetQAndA.action?qids=53&showAnswers=true
 
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ArrayList is the new hotness! Vector is passee. Always use ArrayList.
 
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We should use some other judgement instead of
new or passee, right?
 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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."

Mark
 
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stacks are cool! Use stacks!
 
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Queues! Queues!
They're what to use!

Oh, sorry. Got caught up there.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!