Uses of Interface
org.instancio.generator.specs.CollectionGeneratorSpec
Packages that use CollectionGeneratorSpec
Package
Description
Defines generator specs.
Defines classes that provide access to built-in generators.
-
Uses of CollectionGeneratorSpec in org.instancio.generator.specs
Methods in org.instancio.generator.specs that return CollectionGeneratorSpecModifier and TypeMethodDescriptionCollectionGeneratorSpec.maxSize(int size) Maximum size of collection to generate.CollectionGeneratorSpec.minSize(int size) Minimum size of collection to generate.CollectionGeneratorSpec.nullable()Indicates thatnullvalue can be generated for the collection.CollectionGeneratorSpec.nullableElements()Indicates thatnullvalues can be generated for collection elements.CollectionGeneratorSpec.size(int size) Size of collection to generate.Specifies the type of collection that should be generated.CollectionGeneratorSpec.unique()Specifies that a collection containing unique elements should be generated.Adds given elements to the generated collection at random positions. -
Uses of CollectionGeneratorSpec in org.instancio.generators
Methods in org.instancio.generators that return CollectionGeneratorSpecModifier and TypeMethodDescription<T> CollectionGeneratorSpec<T> Generators.collection()Generator for collections.