File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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"

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.
I agree. Here's the link:
subject: Historical Collection classes
It's not a secret anymore!