|
|||||||||
| Home >> All >> com >> mvsteenb >> javauitransformer >> xmltransformer >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.mvsteenb.javauitransformer.xmltransformer.util
Class StopWatch

java.lang.Objectcom.mvsteenb.javauitransformer.xmltransformer.util.StopWatch
- public class StopWatch
- extends java.lang.Object
com.mvsteenb.javauitransformer.xmltransformer.util
About
This class is part of the JavaUIFormatter version @build.version@ (build #@build.number@) which was built on @build.date@.
Description
Implements a stopwatch timer that can be used for performance testingFree Software
Copyright (C) 2003 Mario Van Steenberghe
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
Please contact me at mario.vansteenberghe@pandora.be for more information.
Revision History
Oct 2, 2003 : mvsteenb : Initial Revision
| Field Summary | |
private java.util.Date |
startTime
|
| Constructor Summary | |
StopWatch()
Constructor |
|
| Method Summary | |
long |
intermediate()
Returns intermediate result without stopping watch |
void |
start()
Starts the stopwatch |
long |
stop()
Stops the stopwatch and returns elapsed time |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
startTime
private java.util.Date startTime
| Constructor Detail |
StopWatch
public StopWatch()
- Constructor
| Method Detail |
start
public void start()
throws StopWatchException
- Starts the stopwatch
stop
public long stop()
throws StopWatchException
- Stops the stopwatch and returns elapsed time
intermediate
public long intermediate()
throws StopWatchException
- Returns intermediate result without stopping watch
|
|||||||||
| Home >> All >> com >> mvsteenb >> javauitransformer >> xmltransformer >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.mvsteenb.javauitransformer.xmltransformer.util.StopWatch