Uses of Class
dev.orne.test.rnd.params.CollectionGenerationParameters
Packages that use CollectionGenerationParameters
Package
Description
Package for built in
Generator implementations.Package for parameterizable generators system.
-
Uses of CollectionGenerationParameters in dev.orne.test.rnd.generators
Methods in dev.orne.test.rnd.generators with parameters of type CollectionGenerationParametersModifier and TypeMethodDescription@NotNull List<?>ListGenerator.defaultValue(@NotNull CollectionGenerationParameters parameters) Returns the default value of the supported type for the specified parameters.@NotNull Set<?>SetGenerator.defaultValue(@NotNull CollectionGenerationParameters parameters) Returns the default value of the supported type for the specified parameters.List<?>ListGenerator.nullableRandomValue(@NotNull CollectionGenerationParameters parameters) Returns a random value of the supported type for the specified parameters allowingnullvalues.<T> TListGenerator.nullableRandomValue(@NotNull Class<T> type, @NotNull CollectionGenerationParameters parameters) Returns a random value of the specified type and parameters.Set<?>SetGenerator.nullableRandomValue(@NotNull CollectionGenerationParameters parameters) Returns a random value of the supported type for the specified parameters allowingnullvalues.<T> TSetGenerator.nullableRandomValue(@NotNull Class<T> type, @NotNull CollectionGenerationParameters parameters) Returns a random value of the specified type and parameters.protected @NotNull List<?>ListGenerator.randomList(@NotNull CollectionGenerationParameters parameters) Returns a random sized list of the specified component type.protected List<?>ListGenerator.randomNullablesList(@NotNull CollectionGenerationParameters parameters) Returns a random sized list of the specified component type allowingnullcomponent values.protected Set<?>SetGenerator.randomNullablesSet(@NotNull CollectionGenerationParameters parameters) Returns a random sized set of the specified component type allowingnullcomponent values.protected @NotNull Set<?>SetGenerator.randomSet(@NotNull CollectionGenerationParameters parameters) Returns a random sized set of the specified component type.protected intListGenerator.randomSize(@NotNull CollectionGenerationParameters parameters) Returns a random list size.protected intSetGenerator.randomSize(@NotNull CollectionGenerationParameters parameters) Returns a random set size.@NotNull List<?>ListGenerator.randomValue(@NotNull CollectionGenerationParameters parameters) Returns a random value of the supported type for the specified parameters.@NotNull Set<?>SetGenerator.randomValue(@NotNull CollectionGenerationParameters parameters) Returns a random value of the supported type for the specified parameters.protected voidListGenerator.validateParameters(@NotNull CollectionGenerationParameters parameters) Validates that the parameters contain enough information to generate the values.protected voidSetGenerator.validateParameters(@NotNull CollectionGenerationParameters parameters) Validates that the parameters contain enough information to generate the values. -
Uses of CollectionGenerationParameters in dev.orne.test.rnd.params
Methods in dev.orne.test.rnd.params that return CollectionGenerationParametersModifier and TypeMethodDescription@NotNull CollectionGenerationParametersCollectionGenerationParameters.withMaxSize(int value) Sets the maximum size.@NotNull CollectionGenerationParametersCollectionGenerationParameters.withMinSize(int value) Sets the minimum size.@NotNull CollectionGenerationParametersCollectionGenerationParameters.withNullable(boolean nullable) Sets if anullvalue is accepted.@NotNull CollectionGenerationParametersSets the components type.