Uses of Class
dev.orne.test.rnd.params.MapGenerationParameters
Packages that use MapGenerationParameters
Package
Description
Package for built in
Generator
implementations.Package for parameterizable generators system.
-
Uses of MapGenerationParameters in dev.orne.test.rnd.generators
Methods in dev.orne.test.rnd.generators with parameters of type MapGenerationParametersModifier and TypeMethodDescription@NotNull Map<?,
?> MapGenerator.defaultValue
(@NotNull MapGenerationParameters parameters) Returns the default value of the supported type for the specified parameters.Map<?,
?> MapGenerator.nullableRandomValue
(@NotNull MapGenerationParameters parameters) Returns a random value of the supported type for the specified parameters allowingnull
values.<T> T
MapGenerator.nullableRandomValue
(@NotNull Class<T> type, @NotNull MapGenerationParameters parameters) Returns a random value of the specified type and parameters.protected @NotNull Map<?,
?> MapGenerator.randomMap
(@NotNull MapGenerationParameters parameters) Returns a random sized map of the specified keys and values types.protected Map<?,
?> MapGenerator.randomNullablesMap
(@NotNull MapGenerationParameters parameters) Returns a random sized map of the specified keys and values types allowingnull
values.protected int
MapGenerator.randomSize
(@NotNull MapGenerationParameters parameters) Returns a random map size.@NotNull Map<?,
?> MapGenerator.randomValue
(@NotNull MapGenerationParameters parameters) Returns a random value of the supported type for the specified parameters.protected void
MapGenerator.validateParameters
(@NotNull MapGenerationParameters parameters) Validates that the parameters contain enough information to generate the values. -
Uses of MapGenerationParameters in dev.orne.test.rnd.params
Methods in dev.orne.test.rnd.params that return MapGenerationParametersModifier and TypeMethodDescription@NotNull MapGenerationParameters
MapGenerationParameters.withKeysType
(Type type) Sets the keys type.@NotNull MapGenerationParameters
MapGenerationParameters.withMaxSize
(int value) Sets the maximum size.@NotNull MapGenerationParameters
MapGenerationParameters.withMinSize
(int value) Sets the minimum size.@NotNull MapGenerationParameters
MapGenerationParameters.withNullable
(boolean nullable) Sets if anull
value is accepted.@NotNull MapGenerationParameters
MapGenerationParameters.withValuesType
(Type type) Sets the values type.