Package org.instancio

Interface InstancioOfCollectionApi<C>

Type Parameters:
C - collection type to create
All Superinterfaces:
InstancioApi<C>
All Known Implementing Classes:
OfCollectionApiImpl, OfMapApiImpl

public interface InstancioOfCollectionApi<C> extends InstancioApi<C>
Instancio API for generating collections populated with random data.
Since:
2.0.0
  • Method Details

    • size

      InstancioOfCollectionApi<C> size(int size)
      Specifies collection size to generate.
      Parameters:
      size - of the collection to generate
      Returns:
      API builder reference
      Since:
      2.0.0