public class AtomicLongSequence extends java.lang.Object implements LongSequence
LongSequence
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.atomic.AtomicLong |
counter |
Constructor and Description |
---|
AtomicLongSequence() |
Modifier and Type | Method and Description |
---|---|
long |
next()
Get the next value in the sequence
|
public long next()
LongSequence
next
in interface LongSequence