public class StopWatch extends Object
Modifier and Type | Method and Description |
---|---|
float |
getCurrentSeconds()
returns the total elapsed time on this stopwatch without the need of stopping it
|
long |
getMillis() |
long |
getNanos() |
float |
getSeconds() |
StopWatch |
setName(String name) |
StopWatch |
start() |
StopWatch |
stop() |
String |
toString() |
public StopWatch(String name)
public StopWatch()
public StopWatch start()
public StopWatch stop()
public float getSeconds()
public float getCurrentSeconds()
public long getMillis()
public long getNanos()
Copyright © 2012–2020. All rights reserved.