public class CollectionGenerator extends java.lang.Object implements InstanceProvider
Modifier and Type | Field and Description |
---|---|
static CollectionGenerator |
INSTANCE
Shared instance of this generator.
|
Constructor and Description |
---|
CollectionGenerator() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
create(java.lang.Class<?> type)
Create an instance given a type, if possible.
|
public static CollectionGenerator INSTANCE
public java.lang.Object create(@Nullable java.lang.Class<?> type)
InstanceProvider
create
in interface InstanceProvider
type
- - type to create.