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 allowingnull
values.<T> T
ListGenerator.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 allowingnull
values.<T> T
SetGenerator.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 allowingnull
component values.protected Set<?>
SetGenerator.randomNullablesSet
(@NotNull CollectionGenerationParameters parameters) Returns a random sized set of the specified component type allowingnull
component values.protected @NotNull Set<?>
SetGenerator.randomSet
(@NotNull CollectionGenerationParameters parameters) Returns a random sized set of the specified component type.protected int
ListGenerator.randomSize
(@NotNull CollectionGenerationParameters parameters) Returns a random list size.protected int
SetGenerator.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 void
ListGenerator.validateParameters
(@NotNull CollectionGenerationParameters parameters) Validates that the parameters contain enough information to generate the values.protected void
SetGenerator.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 CollectionGenerationParameters
CollectionGenerationParameters.withMaxSize
(int value) Sets the maximum size.@NotNull CollectionGenerationParameters
CollectionGenerationParameters.withMinSize
(int value) Sets the minimum size.@NotNull CollectionGenerationParameters
CollectionGenerationParameters.withNullable
(boolean nullable) Sets if anull
value is accepted.@NotNull CollectionGenerationParameters
Sets the components type.