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