public class AtomicLongRandomizer extends java.lang.Object implements Randomizer<java.util.concurrent.atomic.AtomicLong>
AtomicLong.| Constructor and Description |
|---|
AtomicLongRandomizer()
Create a new
AtomicLongRandomizer. |
AtomicLongRandomizer(long seed)
Create a new
AtomicLongRandomizer. |
| Modifier and Type | Method and Description |
|---|---|
static AtomicLongRandomizer |
aNewAtomicLongRandomizer()
Create a new
AtomicLongRandomizer. |
static AtomicLongRandomizer |
aNewAtomicLongRandomizer(long seed)
Create a new
AtomicLongRandomizer. |
java.util.concurrent.atomic.AtomicLong |
getRandomValue()
Generate a random value for the given type.
|
public AtomicLongRandomizer()
AtomicLongRandomizer.public AtomicLongRandomizer(long seed)
AtomicLongRandomizer.seed - initial seedpublic static AtomicLongRandomizer aNewAtomicLongRandomizer()
AtomicLongRandomizer.AtomicLongRandomizer.public static AtomicLongRandomizer aNewAtomicLongRandomizer(long seed)
AtomicLongRandomizer.seed - initial seedAtomicLongRandomizer.public java.util.concurrent.atomic.AtomicLong getRandomValue()
RandomizergetRandomValue in interface Randomizer<java.util.concurrent.atomic.AtomicLong>Copyright © 2019. All Rights Reserved.