T - The data type of the object this Factory creates.public abstract class RandomFactoryBase<T> extends Object implements Factory<T>
| Constructor and Description |
|---|
RandomFactoryBase(RandomValueGenerator randomValueGenerator)
Construct a new Factory.
|
| Modifier and Type | Method and Description |
|---|---|
abstract T |
create()
Create a new object of the specified type.
|
RandomValueGenerator |
getRandomValueGenerator()
Get the random value generator.
|
public RandomFactoryBase(RandomValueGenerator randomValueGenerator) throws IllegalArgumentException
randomValueGenerator - A random value generator used by the Factory to generate random values.IllegalArgumentException - If the specified randomValueGenerator is deemed illegal. For example, if it is null.public final RandomValueGenerator getRandomValueGenerator()
Copyright © 2010–2020 meanbean. All rights reserved.