Class Timer

Class Timer

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----Timer

class Timer
extends Thread
This is a very simple timer class runs in its own thread, It starts a new Thread and sleeps fot the interval of time supplied to the ccnstructor method. Classes that wish to use this class must implement the Timed interface.

Constructor Index

 o Timer(Timed, int)

Method Index

 o run()

Constructors

 o Timer
  public Timer(Timed t,
               int i)

Methods

 o run
  public void run()
Overrides:
run in class Thread