This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Is java.util.Stack synchronized? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Is java.util.Stack synchronized?" Watch "Is java.util.Stack synchronized?" New topic
Author

Is java.util.Stack synchronized?

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

Is java.util.Stack synchronized(like java.util.Vector)? Could not find the information in the javadocs.


[My Blog] [JavaRanch Journal]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Yes, pretty much, as Stack is just a thin subclass of Vector which operates by calling Vector's methods.


[Jess in Action][AskingGoodQuestions]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

Thank you.
[ February 09, 2006: Message edited by: jaikiran pai ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is java.util.Stack synchronized?