aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Historical Collection classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Historical Collection classes" Watch "Historical Collection classes" New topic
Author

Historical Collection classes

amit sanghai
Ranch Hand

Joined: Dec 05, 2000
Posts: 231

Hi everybody,

Are all the methods in the Historical collection classes
like Vector, Hashtable, Properties synchronized?
Is Dictionary a Historical abstract collection class ? If so, are all its methods synchronized?
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Vector is synchronized. Hashtable used to inherit from Dictionary but has been retrofitted to inherit from Map, but is still synchronized. Properites subclasses Hashtable so it also is syncronized.
Dictionary used to be the superclass of Hashtable, but it is not synchronized.
[This message has been edited by Cindy Glass (edited January 12, 2001).]


"JavaRanch, where the deer and the Certified play" - David O'Meara
amit sanghai
Ranch Hand

Joined: Dec 05, 2000
Posts: 231

Thanks Cindy. Your answers were great help.
 
wood burning stoves
 
subject: Historical Collection classes