Uses of Interface
org.instancio.generator.specs.OneOfCollectionGeneratorSpec
Packages that use OneOfCollectionGeneratorSpec
Package
Description
Defines generator specs.
Defines classes that provide access to built-in generators.
-
Uses of OneOfCollectionGeneratorSpec in org.instancio.generator.specs
Subinterfaces of OneOfCollectionGeneratorSpec in org.instancio.generator.specsModifier and TypeInterfaceDescriptioninterfaceSpec for selecting a random value from a collection. -
Uses of OneOfCollectionGeneratorSpec in org.instancio.generators
Methods in org.instancio.generators that return OneOfCollectionGeneratorSpecModifier and TypeMethodDescription<T> OneOfCollectionGeneratorSpec<T> CommonGeneratorSpecs.oneOf(Collection<T> choices) Picks a random value from the given choices.<T> OneOfCollectionGeneratorSpec<T> Generators.oneOf(Collection<T> choices) Picks a random value from the given choices.