Class Stopwatch

Object
  extended by Stopwatch

public class Stopwatch
extends Object

Stopwatch. This class is a data type for measuring the running time (wall clock) of a program.


Constructor Summary
Stopwatch()
          Create a stopwatch object.
 
Method Summary
 double elapsedTime()
          Return elapsed time (in seconds) since this object was created.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Stopwatch

public Stopwatch()
Create a stopwatch object.

Method Detail

elapsedTime

public double elapsedTime()
Return elapsed time (in seconds) since this object was created.