public class SimpleIdGenerator extends java.lang.Object implements IdGenerator
IdGenerator
that starts at 1 and increments by 1 with each call.Constructor and Description |
---|
SimpleIdGenerator() |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
generateId()
Generate a new identifier.
|
public java.util.UUID generateId()
IdGenerator
generateId
in interface IdGenerator