spring 6.1.4
spring.core
org.springframework.util
IdGenerator
Top
Description
Methods
org.springframework.util
public
Interface IdGenerator
Known Direct Implementers
org.
springframework.
util.
JdkIdGenerator
,
org.
springframework.
util.
SimpleIdGenerator
,
org.
springframework.
util.
AlternativeJdkIdGenerator
Annotations
@FunctionalInterface
Imports
java.
util.
UUID
Contract for generating universally unique identifiers (
UUIDs
).
Author
Rossen Stoyanchev
Since
4.0
Method Summary
Modifier and Type
Method and Description
public
UUID
Returns:
the generated identifier
generateId
()
Generate a new identifier.
Method Detail
generateId
back to summary
public
UUID
generateId
()
Generate a new identifier.
Returns:
UUID
the generated identifier