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 allowingnullvalues.<T> TMapGenerator.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 allowingnullvalues.protected intMapGenerator.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 voidMapGenerator.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 MapGenerationParametersMapGenerationParameters.withKeysType(Type type) Sets the keys type.@NotNull MapGenerationParametersMapGenerationParameters.withMaxSize(int value) Sets the maximum size.@NotNull MapGenerationParametersMapGenerationParameters.withMinSize(int value) Sets the minimum size.@NotNull MapGenerationParametersMapGenerationParameters.withNullable(boolean nullable) Sets if anullvalue is accepted.@NotNull MapGenerationParametersMapGenerationParameters.withValuesType(Type type) Sets the values type.