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