- java.lang.Object
-
- com.aoapps.lang.util.UnsynchronizedSequence
-
-
Constructor Summary
Constructors Constructor Description UnsynchronizedSequence()Starts at the value of 1.UnsynchronizedSequence(long initialValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetNextSequenceValue()Gets the next value from the sequence.voidsetNextSequenceValue(long nextValue)
-
-
-
Method Detail
-
getNextSequenceValue
public long getNextSequenceValue()
Description copied from interface:SequenceGets the next value from the sequence.- Specified by:
getNextSequenceValuein interfaceSequence
-
setNextSequenceValue
public void setNextSequenceValue(long nextValue)
- Specified by:
setNextSequenceValuein interfaceSequence
-
-