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 RandomFactory
Copyright © 2006–2018 JBoss by Red Hat. All rights reserved.