Jacson

de.spieleck.util
Class ThreadUtil

java.lang.Object
  extended byde.spieleck.util.ThreadUtil

public class ThreadUtil
extends java.lang.Object

Very simple helpers for delaying Threads.

Author:
fsn

Constructor Summary
ThreadUtil()
           
 
Method Summary
static void sleep(int ms)
          A sleep, that does not throw an exeception and might sleep too short.
static void sleep(int ms, int ns)
          A sleep, that does not throw an exeception and might sleep too short.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadUtil

public ThreadUtil()
Method Detail

sleep

public static void sleep(int ms)
A sleep, that does not throw an exeception and might sleep too short.


sleep

public static void sleep(int ms,
                         int ns)
A sleep, that does not throw an exeception and might sleep too short.


Spieleck

Copyleft 2002 spieleck.de.