When the vector object doubles it's size?

Showing Answers 1 - 2 of 2 Answers

narendra

  • Mar 3rd, 2006
 

when the size of the vector is full

  Was this answer useful?  Yes

elidoran

  • Mar 4th, 2006
 

Try to avoid the old Vector class. Use the List implementations (LinkedList, ArrayList). If you need them to be synchronized wrap them using Collections.synchronizedList(...). Much better performance this way.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.