Vector parameters
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Somasekhar_Reddy
Posted On:   Friday, August 8, 2003 04:36 AM


What are different types of parameters can pass through vector. and when can we use ArraList or vector for better performance?

Re: Vector parameters

Posted By:   Anonymous  
Posted On:   Friday, August 8, 2003 05:56 AM

What are different types of parameters can pass through vector.
ANY java object..


when can we use ArraList or vector for better performance

Vector - methods in this class are syncronized by default

ArrayList - methods in this class are NOT syncronized by default

Vector - Can store dissimilar objects(String/Hashtable/ArrayList..)

ArryList - Can store ONLY similar objects(only String objects/only Integers/... )
About | Sitemap | Contact