com.croftsoft.core.lang
Class ThreadLib

java.lang.Object
  extended by com.croftsoft.core.lang.ThreadLib

public class ThreadLib
extends Object

A collection of static methods to manipulate Thread objects.

Version:
1999-10-02
Author:
David Wallace Croft

Constructor Summary
ThreadLib()
           
 
Method Summary
static boolean sleep(long millis)
          Puts the current Thread to sleep for a number of milliseconds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadLib

public ThreadLib()
Method Detail

sleep

public static boolean sleep(long millis)
Puts the current Thread to sleep for a number of milliseconds.

Returns:
Returns false if InterruptedException was thrown.

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)