java - Why are Vector and HashTable widely believed to be due for deprecation? -
possible duplicate:
why java vector class considered obsolete or deprecated?
also, there official word sun/oracle on that?
thanks.
edit: i'm aware of other topic, didn't mention whether there official word on this, why topic worded "widely believed". plus, topic addresses vector, not hashtable.
vector
synchronized; don't need incurs serious overhead. hashtable
synchronized , can't reasonably store null
s.
people use various lists , hashmap
instead.
Comments
Post a Comment