public final class ObjectSequence extends Object
Constructor and Description |
---|
ObjectSequence(int id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getNext()
Retrieve the next value from the sequence.
|
void |
sync(Integer id)
Sync the sequence with a value known to be in use.
|
Integer |
syncOrGetNext(Integer id)
If the id is not null, sync the sequence with it.
|
public ObjectSequence(int id)
id
- initial valueCopyright © 2000–2024 Packwood Software. All rights reserved.