public final class Randomness
extends java.lang.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(java.lang.Thread owner,
RandomSupplier supplier,
long seed,
SeedDecorator... decorators) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Random |
getRandom()
Random instance for this randomness.
|
java.lang.String |
toString() |
public Randomness(java.lang.Thread owner,
RandomSupplier supplier,
long seed,
SeedDecorator... decorators)
public Randomness(long seed,
RandomSupplier supplier,
SeedDecorator... decorators)
Copyright © 2011–2018 Carrot Search s.c.. All rights reserved.