Package org.instancio
Interface InstancioOfCollectionApi<C>
- Type Parameters:
C
- collection type to create
- All Superinterfaces:
InstancioApi<C>
- All Known Implementing Classes:
InstancioOfCollectionApiImpl
,InstancioOfMapApiImpl
Instancio API for generating collections populated with random data.
- Since:
- 2.0.0
-
Method Summary
Methods inherited from interface org.instancio.InstancioApi
asResult, create, generate, ignore, lenient, onComplete, set, stream, subtype, supply, supply, toModel, withNullable, withSeed, withSettings
-
Method Details
-
size
Specifies collection size to generate.- Parameters:
size
- of the collection to generate- Returns:
- API builder reference
- Since:
- 2.0.0
-