org.placidus.performance
Class PerformanceObject
java.lang.Object
org.placidus.performance.PerformanceObject
public class PerformanceObject
- extends java.lang.Object
Class to hold performance data, PerformanceStopWatch
- Author:
- ds
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PerformanceObject
public PerformanceObject()
clickStopWatch
public void clickStopWatch()
- if not yet started, stopwatch will be started.
if started average will be taken and saved.
result
public long result()
- Returns:
- current average time
isStarted
public boolean isStarted()
- Returns:
- true if started
isRunning
public boolean isRunning()
- Returns:
- true if running
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
result()
Copyright © 2006 DS. All Rights Reserved.