public class Base64IdGenerator extends Object implements IdGenerator
| 限定符和类型 | 字段和说明 |
|---|---|
static SecureRandom |
INSTANCE |
| 构造器和说明 |
|---|
Base64IdGenerator() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
get() |
String |
get(Object o)
Returns a Base64 encoded version of a Version 4.0 compatible UUID
as defined here: http://www.ietf.org/rfc/rfc4122.txt
|
String |
getBase64UUID(Random random)
Returns a Base64 encoded version of a Version 4.0 compatible UUID
randomly initialized by the given
Random instance
as defined here: http://www.ietf.org/rfc/rfc4122.txt |
String |
getBase64UUIDSecureString()
Returns a Base64 encoded of a Version 4.0 compatible UUID
as defined here: http://www.ietf.org/rfc/rfc4122.txt
|
public static final SecureRandom INSTANCE
public String get()
get 在接口中 IdGeneratorget 在接口中 Supplier0public String get(Object o)
get 在接口中 IdGeneratorget 在接口中 Supplierpublic String getBase64UUIDSecureString()
Copyright © 2022. All rights reserved.