public abstract class BaseCollectionRandomGenerator extends Object implements ParameterizableRandomGenerator
| Constructor and Description |
|---|
BaseCollectionRandomGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Collection |
doGenerate(Class<?> type)
Perform random generation.
|
Collection |
doGenerate(Parameterizable parameterizedType)
Perform random generation.
|
protected abstract Collection |
getBasicInstance(Class<?> type) |
abstract Collection<Class<?>> |
getTypes()
This method is used to get the types that this RandomGenerator is responsible for.
|
public Collection doGenerate(Class<?> type)
RandomGeneratordoGenerate in interface RandomGeneratortype - The type to generate for.public Collection doGenerate(Parameterizable parameterizedType)
ParameterizableRandomGeneratordoGenerate in interface ParameterizableRandomGeneratorparameterizedType - The parameterized type to generate for.public abstract Collection<Class<?>> getTypes()
RandomGeneratorgetTypes in interface RandomGeneratorprotected abstract Collection getBasicInstance(Class<?> type)
Copyright © 2010-2016. All Rights Reserved.