Package org.springframework.util
Class SimpleIdGenerator
java.lang.Object
org.springframework.util.SimpleIdGenerator
- All Implemented Interfaces:
- IdGenerator
A simple 
IdGenerator that starts at 1, increments up to
 Long.MAX_VALUE, and then rolls over.- Since:
- 4.1.5
- Author:
- Rossen Stoyanchev
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
SimpleIdGeneratorpublic SimpleIdGenerator()
 
- 
- 
Method Details- 
generateIdDescription copied from interface:IdGeneratorGenerate a new identifier.- Specified by:
- generateIdin interface- IdGenerator
- Returns:
- the generated identifier
 
 
-