package com.generationJava.test;
/**
* Useful when doing timings in a debug or test situation.
*/
public class StopWatch {
static public int AN_HOUR = 60 * 60 * 1000;
static public int A_MINUTE = 60 * 1000;
private long startTime = -1;
private long stopTime = -1;
/**
* Start the stopwatch.
*/
public void start() {
this.startTime = System.currentTimeMillis();
}
/**
*...[ 查看全文 ]