Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://www.aoindustries.com/contact
| Constructor and Description |
|---|
AtomicSequence()
Starts at the value of 1.
|
AtomicSequence(long initialValue) |
| Modifier and Type | Method and Description |
|---|---|
long |
getNextSequenceValue()
Gets the next value from the sequence.
|
void |
setNextSequenceValue(long nextValue) |
public AtomicSequence()
public AtomicSequence(long initialValue)
public long getNextSequenceValue()
SequencegetNextSequenceValue in interface Sequencepublic void setNextSequenceValue(long nextValue)
setNextSequenceValue in interface SequenceCopyright © 2000–2016 AO Industries, Inc.. All rights reserved.