public class EnumSetRandomGenerator extends 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 java.util.Collection |
getBasicInstance(java.lang.Class<?> type) |
static EnumSetRandomGenerator |
getInstance() |
java.util.Collection<java.lang.Class<?>> |
getTypes()
This method is used to get the types that this RandomGenerator is responsible for.
|
public static EnumSetRandomGenerator getInstance()
public java.util.Collection<java.lang.Class<?>> getTypes()
RandomGeneratorgetTypes in interface RandomGeneratorgetTypes in class BaseCollectionRandomGeneratorprotected java.util.Collection getBasicInstance(java.lang.Class<?> type)
getBasicInstance in class BaseCollectionRandomGeneratorpublic java.util.Collection doGenerate(java.lang.Class<?> type)
RandomGeneratordoGenerate in interface RandomGeneratordoGenerate in class BaseCollectionRandomGeneratortype - The type to generate for.public java.util.Collection doGenerate(Parameterizable parameterizedType)
ParameterizableRandomGeneratordoGenerate in interface ParameterizableRandomGeneratordoGenerate in class BaseCollectionRandomGeneratorparameterizedType - The parameterized type to generate for.Copyright © 2010-2015. All Rights Reserved.