Uses of Interface
org.instancio.generator.specs.MapGeneratorSpec
Packages that use MapGeneratorSpec
Package
Description
Defines generator specs.
Defines classes that provide access to built-in generators.
-
Uses of MapGeneratorSpec in org.instancio.generator.specs
Methods in org.instancio.generator.specs that return MapGeneratorSpecModifier and TypeMethodDescriptionMapGeneratorSpec.maxSize(int size) Maximum size of map to generate.MapGeneratorSpec.minSize(int size) Minimum size of map to generate.MapGeneratorSpec.nullable()Indicates thatnullvalue can be generated for the map.MapGeneratorSpec.nullableKeys()Indicates thatnullvalues can be generated for map keys.MapGeneratorSpec.nullableValues()Indicates thatnullvalues can be generated for map values.MapGeneratorSpec.size(int size) Size of map to generate.Specifies the type of map that should be generated.Adds given key/value pair to the generated map.Adds given keys to the map in the order they are provided. -
Uses of MapGeneratorSpec in org.instancio.generators
Methods in org.instancio.generators that return MapGeneratorSpecModifier and TypeMethodDescription<K,V> MapGeneratorSpec <K, V> Generators.map()Generator for maps.