public class IdGenerators
extends java.lang.Object
IdGenerator
implementations.Constructor and Description |
---|
IdGenerators() |
Modifier and Type | Method and Description |
---|---|
static IdGenerator |
decrementingLongs()
Returns an
IdGenerators that will provide successive decrementing longs. |
static IdGenerator |
incrementingLongs()
Returns an
IdGenerator which provides successive incrementing longs. |
public static IdGenerator incrementingLongs()
IdGenerator
which provides successive incrementing longs.public static IdGenerator decrementingLongs()
IdGenerators
that will provide successive decrementing longs.