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.
Provides generators for
java.util.* types.-
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()Customises generated collections. -
Uses of CollectionGeneratorSpec in org.instancio.internal.generator.util
Classes in org.instancio.internal.generator.util that implement CollectionGeneratorSpecModifier and TypeClassDescriptionclassclassMethods in org.instancio.internal.generator.util that return CollectionGeneratorSpecModifier and TypeMethodDescriptionCollectionGenerator.maxSize(int size) CollectionGenerator.minSize(int size) CollectionGenerator.nullable()CollectionGenerator.nullable(boolean isNullable) CollectionGenerator.nullableElements()CollectionGenerator.size(int size) CollectionGenerator.unique()final CollectionGeneratorSpec<T>