Uses of Class
org.instancio.internal.generator.misc.EmitGenerator
Packages that use EmitGenerator
Package
Description
Defines generator specs.
Miscellaneous generators.
-
Uses of EmitGenerator in org.instancio.generator.specs
Methods in org.instancio.generator.specs that return EmitGeneratorModifier and TypeMethodDescriptionEmitGeneratorSpec.ignoreUnused()Specifies that if any of the provided items were not emitted, they should be ignored (the default is to throw an exception).EmitGeneratorSpec.shuffle()Specifies that items should be emitted in random order.EmitGeneratorSpec.whenEmptyEmitNull()Specifies thatnullshould be generated if an insufficient number of items were provided.EmitGeneratorSpec.whenEmptyEmitRandom()Specifies that a random value should be generated if an insufficient number of items were provided.EmitGeneratorSpec.whenEmptyThrowException()Specifies that an exception should be raised if an insufficient number of items were provided. -
Uses of EmitGenerator in org.instancio.internal.generator.misc
Methods in org.instancio.internal.generator.misc that return EmitGeneratorModifier and TypeMethodDescriptionEmitGenerator.ignoreUnused()EmitGenerator.shuffle()EmitGenerator.whenEmptyEmitNull()EmitGenerator.whenEmptyEmitRandom()EmitGenerator.whenEmptyThrowException()