public class AtomicLongRandomizer extends Object implements Randomizer<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. |
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 AtomicLong getRandomValue()
RandomizergetRandomValue in interface Randomizer<AtomicLong>Copyright © 2017. All Rights Reserved.