我们通常使用来自Apache Commons
StopWatch的StopWatch来检查模式的提供方式。
当秒表状态错误时,将抛出IllegalStateException。
public void stop()Stop the stopwatch.This method ends a new timing session, allowing the time to be retrieved.Throws: IllegalStateException - if the StopWatch is not running.
直截了当。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)