util
Class StopWatch

java.lang.Object
  |
  +--util.StopWatch

public class StopWatch
extends Object
implements Serializable

StopWatch.java A static class that allows you to do fine level timing between events. Useful for debugging. Created: Tue Nov 14 16:00:27 2000

See Also:
Serialized Form

Constructor Summary
StopWatch()
           
 
Method Summary
static long reset()
          resets the timer
static long timeElapsed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopWatch

public StopWatch()
Method Detail

reset

public static long reset()
resets the timer
Returns:
the number of milliseconds since the last reset

timeElapsed

public static long timeElapsed()
Returns:
the number of milliseconds since the last reset