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.
Provides generators for
java.util.* types.-
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()Customises generated maps. -
Uses of MapGeneratorSpec in org.instancio.internal.generator.util
Classes in org.instancio.internal.generator.util that implement MapGeneratorSpecMethods in org.instancio.internal.generator.util that return MapGeneratorSpecModifier and TypeMethodDescriptionMapGenerator.maxSize(int size) MapGenerator.minSize(int size) MapGenerator.nullable()MapGenerator.nullable(boolean isNullable) MapGenerator.nullableKeys()MapGenerator.nullableValues()MapGenerator.size(int size) final MapGeneratorSpec<K,V>