mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
commit
4acad0afd8
@ -27,7 +27,7 @@ import java.util.List;
|
||||
* stopWatch.stop();
|
||||
*
|
||||
* // 任务2
|
||||
* stopWatch.start("任务一");
|
||||
* stopWatch.start("任务二");
|
||||
* Thread.sleep(2000);
|
||||
* stopWatch.stop();
|
||||
*
|
||||
@ -114,7 +114,7 @@ public class StopWatch {
|
||||
/**
|
||||
* 获取StopWatch 的ID,用于多个秒表对象的区分
|
||||
*
|
||||
* @return the ID 空字符串为
|
||||
* @return the ID 默认为空字符串
|
||||
* @see #StopWatch(String)
|
||||
*/
|
||||
public String getId() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user