aspose file tools*
The moose likes Beginning Java and the fly likes thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "thread" Watch "thread" New topic
Author

thread

Syamsul Hussin
Ranch Hand

Joined: Feb 09, 2003
Posts: 59
Hi, is the value of x in Thread.sleep(x) is in seconds or miliseconds ? Thanks.


----------------------------------<br />SCJP 1.4
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Take a quick look at The Thread Class Documentation.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
David Weitzman
Ranch Hand

Joined: Jul 27, 2001
Posts: 1365
An important resource every Java programmer should be familiar with is the Official API documentation.
The information you are looking for can be found under java.lang.Thread
Many people choose to keep a local copy for speedy access.
[ February 25, 2003: Message edited by: David Weitzman ]
Syamsul Hussin
Ranch Hand

Joined: Feb 09, 2003
Posts: 59
thanks, just wondering how big is the API? (how many mb?)
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Just follow the links. It's 32,765,641 bytes.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: thread