public class DefaultRandomFactory extends Object implements RandomFactory
| Modifier and Type | Field and Description |
|---|---|
protected Long |
randomSeed |
protected RandomType |
randomType |
| Constructor and Description |
|---|
DefaultRandomFactory(RandomType randomType,
Long randomSeed) |
protected final RandomType randomType
protected final Long randomSeed
public DefaultRandomFactory(RandomType randomType, Long randomSeed)
randomType - never nullrandomSeed - null if no seedpublic Random createRandom()
createRandom in interface RandomFactoryCopyright © 2006–2021 JBoss by Red Hat. All rights reserved.