public class StopWatch extends Object implements Closeable
| Constructor and Description |
|---|
StopWatch() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
double |
getElapsedMilliseconds() |
double |
getElapsedSeconds() |
long |
getElapsedTime() |
double |
getStartMilliseconds() |
long |
getStartTime() |
boolean |
isStarted() |
void |
reset() |
void |
start() |
static StopWatch |
startNew() |
void |
stop() |
String |
toString() |
public static StopWatch startNew()
public void start()
public void reset()
public void stop()
public long getElapsedTime()
public double getElapsedMilliseconds()
public double getElapsedSeconds()
public long getStartTime()
public double getStartMilliseconds()
public boolean isStarted()
public void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2017 Hitachi Vantara. All rights reserved.