public class IntegerIDManager extends java.lang.Object
int IDs.| Constructor and Description |
|---|
IntegerIDManager() |
| Modifier and Type | Method and Description |
|---|---|
int |
createNewID()
Returns a new sequence identifier that has not been returned before.
|
int |
peekNextID()
Peeks the value that would be returned by the next call of
createNewID(). |
public IntegerIDManager()
public int createNewID()
public int peekNextID()
createNewID().