This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Threads and Synchronization and the fly likes Question about Thread-safe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Question about Thread-safe" Watch "Question about Thread-safe" New topic
Author

Question about Thread-safe

Wilson Hui
Greenhorn

Joined: Jul 18, 2002
Posts: 6
is java.lang.Integer.parseInt(String s) thread-safe?
If not, how to make it to be thread-safe?
Thanks
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Wilson
What do you mean by thread safe? The method does not change anything or alter any of the variables involved so it can't be involved in any kind of deadlock situation. All it does is return an int that is represented in the passed in String.


Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about Thread-safe
 
Similar Threads
thread safe
vetor thread safe?
threadsafe objects
question from the jweb+
ActionServlet Thread Safe