public class SimpleIdGenerator extends Object implements IdGenerator
IdGenerator
that starts at 1 and increments by 1 with each call.Constructor and Description |
---|
SimpleIdGenerator() |
public UUID generateId()
IdGenerator
generateId
in interface IdGenerator