mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
add static
This commit is contained in:
parent
a30356a215
commit
20ac0ce6a8
@ -41,6 +41,17 @@ import java.util.List;
|
||||
*/
|
||||
public class StopWatch {
|
||||
|
||||
/**
|
||||
* 创建计时任务(秒表)
|
||||
*
|
||||
* @param id 用于标识秒表的唯一ID
|
||||
* @return StopWatch
|
||||
* @since 5.5.2
|
||||
*/
|
||||
public static StopWatch create(String id){
|
||||
return new StopWatch(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 秒表唯一标识,用于多个秒表对象的区分
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user