mirror of
https://gitee.com/dromara/hutool.git
synced 2025-07-15 23:13:33 +08:00
fix code
This commit is contained in:
parent
bcc5bc6d6c
commit
1ff0dcde0f
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2023 looly(loolly@aliyun.com)
|
* Copyright (c) 2023. looly(loolly@aliyun.com)
|
||||||
* Hutool is licensed under Mulan PSL v2.
|
* Hutool is licensed under Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v2 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
@ -10,9 +10,9 @@
|
|||||||
* See the Mulan PSL v2 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.dromara.hutool.core.lang.generator;
|
package org.dromara.hutool.core.data.id;
|
||||||
|
|
||||||
import org.dromara.hutool.core.data.id.ObjectId;
|
import org.dromara.hutool.core.lang.generator.Generator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ObjectId生成器
|
* ObjectId生成器
|
@ -25,6 +25,9 @@ import java.lang.management.ManagementFactory;
|
|||||||
* @since 5.8.0
|
* @since 5.8.0
|
||||||
*/
|
*/
|
||||||
public enum Pid {
|
public enum Pid {
|
||||||
|
/**
|
||||||
|
* 单例
|
||||||
|
*/
|
||||||
INSTANCE;
|
INSTANCE;
|
||||||
|
|
||||||
private final int pid;
|
private final int pid;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2023 looly(loolly@aliyun.com)
|
* Copyright (c) 2023. looly(loolly@aliyun.com)
|
||||||
* Hutool is licensed under Mulan PSL v2.
|
* Hutool is licensed under Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v2 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
@ -10,9 +10,9 @@
|
|||||||
* See the Mulan PSL v2 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.dromara.hutool.core.lang.generator;
|
package org.dromara.hutool.core.data.id;
|
||||||
|
|
||||||
import org.dromara.hutool.core.data.id.Snowflake;
|
import org.dromara.hutool.core.lang.generator.Generator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Snowflake生成器<br>
|
* Snowflake生成器<br>
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2023 looly(loolly@aliyun.com)
|
* Copyright (c) 2023. looly(loolly@aliyun.com)
|
||||||
* Hutool is licensed under Mulan PSL v2.
|
* Hutool is licensed under Mulan PSL v2.
|
||||||
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
* You can use this software according to the terms and conditions of the Mulan PSL v2.
|
||||||
* You may obtain a copy of Mulan PSL v2 at:
|
* You may obtain a copy of Mulan PSL v2 at:
|
||||||
@ -10,9 +10,9 @@
|
|||||||
* See the Mulan PSL v2 for more details.
|
* See the Mulan PSL v2 for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.dromara.hutool.core.lang.generator;
|
package org.dromara.hutool.core.data.id;
|
||||||
|
|
||||||
import org.dromara.hutool.core.data.id.IdUtil;
|
import org.dromara.hutool.core.lang.generator.Generator;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UUID生成器
|
* UUID生成器
|
Loading…
Reference in New Issue
Block a user