public final class Randomness extends Object
An instance of this class will be typically available from RandomizedContext
.
No need to instantiate manually.
RandomizedContext
Constructor and Description |
---|
Randomness(long seed,
RandomSupplier supplier,
SeedDecorator... decorators) |
Randomness(Thread owner,
RandomSupplier supplier,
long seed,
SeedDecorator... decorators) |
Modifier and Type | Method and Description |
---|---|
Random |
getRandom()
Random instance for this randomness.
|
String |
toString() |
public Randomness(Thread owner, RandomSupplier supplier, long seed, SeedDecorator... decorators)
public Randomness(long seed, RandomSupplier supplier, SeedDecorator... decorators)
Copyright © 2011–2024 Carrot Search s.c.. All rights reserved.