public class CollectionGenerator extends 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 |
|---|---|
Object |
create(Class<?> type)
Create an instance given a type, if possible.
|
public static final CollectionGenerator INSTANCE
public Object create(@Nullable Class<?> type)
InstanceProvidercreate in interface InstanceProvidertype - - type to create.Copyright © 2012–2017 Comphenix and dmulloy2. Licensed under the GNU GPL v2.