public class EnumSetRandomGenerator extends BaseCollectionRandomGenerator
| Modifier and Type | Method and Description |
|---|---|
Collection |
doGenerate(Class<?> type)
Perform random generation.
|
Collection |
doGenerate(Parameterizable parameterizedType)
Perform random generation.
|
protected Collection |
getBasicInstance(Class<?> type) |
static EnumSetRandomGenerator |
getInstance() |
Collection<Class<?>> |
getTypes()
This method is used to get the types that this RandomGenerator is responsible for.
|
public static EnumSetRandomGenerator getInstance()
public Collection<Class<?>> getTypes()
RandomGeneratorgetTypes in interface RandomGeneratorgetTypes in class BaseCollectionRandomGeneratorprotected Collection getBasicInstance(Class<?> type)
getBasicInstance in class BaseCollectionRandomGeneratorpublic Collection doGenerate(Class<?> type)
RandomGeneratordoGenerate in interface RandomGeneratordoGenerate in class BaseCollectionRandomGeneratortype - The type to generate for.public Collection doGenerate(Parameterizable parameterizedType)
ParameterizableRandomGeneratordoGenerate in interface ParameterizableRandomGeneratordoGenerate in class BaseCollectionRandomGeneratorparameterizedType - The parameterized type to generate for.Copyright © 2010–2021. All rights reserved.