IntelliJ Java IDE
The moose likes Beginning Java and the fly likes thread Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply 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.
 
 
subject: thread
 
Threads others viewed
WA #1.....word association
Trying out smilies
JDeveloper exam..
how to config Tomcat on windows NT
x
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture