• Post Reply Bookmark Topic Watch Topic
  • New Topic

Properties class

 
Suresh Appagundi
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Properties methods synchronized? like Hashtable.

thanks
Suresh Appagundi
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Properties extends Hashtable, so any method that Properties doesn't override would be synchronized. You could also look at the source (check your SDK directory for a src.zip file) and see that many Properties methods, like setProperty() and load(), are synchronized.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!