org.nutz.lang
类 Stopwatch
java.lang.Object
org.nutz.lang.Stopwatch
public class Stopwatch
- extends java.lang.Object
秒表
- 作者:
- zozoh(zozohtnt@gmail.com)
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Stopwatch
public Stopwatch()
begin
public static Stopwatch begin()
beginNano
public static Stopwatch beginNano()
create
public static Stopwatch create()
createNano
public static Stopwatch createNano()
run
public static Stopwatch run(java.lang.Runnable atom)
runNano
public static Stopwatch runNano(java.lang.Runnable atom)
start
public long start()
stop
public long stop()
getDuration
public long getDuration()
getStartTime
public long getStartTime()
getEndTime
public long getEndTime()
toString
public java.lang.String toString()
- 覆盖:
- 类
java.lang.Object
中的 toString