Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Historical Collection classes

 
amit sanghai
Ranch Hand
Posts: 231
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
amit sanghai
Ranch Hand
Posts: 231
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks Cindy. Your answers were great help.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic