This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

thread

 
Syamsul Hussin
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, is the value of x in Thread.sleep(x) is in seconds or miliseconds ? Thanks.
 
Dirk Schreckmann
Sheriff
Posts: 7023
 
David Weitzman
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks, just wondering how big is the API? (how many mb?)
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just follow the links. It's 32,765,641 bytes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic