Uses of Interface
dev.orne.test.rnd.Generator
Packages that use Generator
Package
Description
Base package for random value generators system.
Package for built in
Generator implementations.Package for parameterizable generators system.
-
Uses of Generator in dev.orne.test.rnd
Subinterfaces of Generator in dev.orne.test.rndModifier and TypeInterfaceDescriptioninterfaceExtension ofGeneratorfor generators that only provide one type of values.Classes in dev.orne.test.rnd that implement GeneratorModifier and TypeClassDescriptionclassAbstract basic implementation ofGenerator.classAbstract implementation ofTypedGenerator.static final classCache value for missing generators for a value type.Fields in dev.orne.test.rnd with type parameters of type GeneratorModifier and TypeFieldDescriptionstatic final Comparator<Generator>Generators.COMPARATORThe generator comparator by priority.Methods in dev.orne.test.rnd that return GeneratorModifier and TypeMethodDescriptionstatic GeneratorGenerators.getGenerator(@NotNull Class<?> type) Returns the generator to use for the specified value type.Methods in dev.orne.test.rnd that return types with arguments of type GeneratorModifier and TypeMethodDescriptionGenerators.getRegisteredGenerators()Returns an unmodifiable list with the registered generators.Methods in dev.orne.test.rnd with parameters of type GeneratorModifier and TypeMethodDescriptionstatic voidAdds the specified generators to the registered generators.static voidRemoves the specified generators from the registered generators.Method parameters in dev.orne.test.rnd with type arguments of type GeneratorModifier and TypeMethodDescriptionstatic voidGenerators.register(@NotNull Collection<Generator> generators) Adds the specified generators to the registered generators.static voidGenerators.remove(@NotNull Collection<Generator> generators) Removes the specified generators from the registered generators. -
Uses of Generator in dev.orne.test.rnd.generators
Classes in dev.orne.test.rnd.generators that implement GeneratorModifier and TypeClassDescriptionclassAbstract generator implementation for primitive types.classGenerator of beans annotated withCurrency.classGenerator of array values.classGenerator ofBigDecimalandNumbervalues.classGenerator ofBigIntegervalues.classGenerator ofbooleanandBooleanvalues.classGenerator ofbyteandBytevalues.classGenerator ofCalendarvalues.classGenerator ofcharandCharactervalues.classGenerator ofCharsetvalues.classGenerator ofChronologyvalues.classGenerator ofClockvalues.classGenerator ofCurrencyvalues.classGenerator ofDatevalues.classGenerator ofdoubleandDoublevalues.classGenerator ofDurationvalues.classGenerator of enumeration types values.classGenerator ofFilevalues.classGenerator offloatandFloatvalues.classGenerator ofInstantvalues.classGenerator ofintandIntegervalues.classGenerator ofListvalues.classGenerator ofLocalDatevalues.classGenerator ofLocalDateTimevalues.classGenerator ofLocalevalues.classGenerator ofLocalTimevalues.classGenerator oflongandLongvalues.classGenerator ofMapvalues.classGenerator ofMonthDayvalues.classGenerator ofOffsetDateTimevalues.classGenerator ofOffsetTimevalues.classGenerator ofPathvalues.classGenerator ofPeriodvalues.classGenerator ofSetvalues.classGenerator ofshortandShortvalues.classGenerator ofStringandCharSequencevalues.classGenerator ofTimeZonevalues.classGenerator ofURIvalues.classGenerator ofURLvalues.classGenerator ofUUIDvalues.classGenerator ofYearvalues.classGenerator ofYearMonthvalues.classGenerator ofZonedDateTimevalues.classGenerator ofZoneIdvalues.classGenerator ofZoneOffsetvalues.Methods in dev.orne.test.rnd.generators that return GeneratorModifier and TypeMethodDescriptionprotected @NotNull GeneratorAnnotatedMethodGenerator.discoverAnnotatedGenerator(@NotNull Class<?> targetType) Finds a constructor or static method annotated withGeneratorMethodin the specified target class.protected GeneratorAnnotatedMethodGenerator.getAnnotatedGenerator(@NotNull Class<?> targetType) Returns annotated generator to be used to create random instances of the specified target class.Methods in dev.orne.test.rnd.generators with parameters of type GeneratorModifier and TypeMethodDescriptionprotected @NotNull ObjectArrayGenerator.randomArray(@NotNull Class<?> componentType, @NotNull Generator generator) Returns a random sized array of the specified component type.protected ObjectArrayGenerator.randomNullablesArray(@NotNull Class<?> componentType, @NotNull Generator generator) Returns a random sized array of the specified component type allowingnullcomponent values. -
Uses of Generator in dev.orne.test.rnd.params
Subinterfaces of Generator in dev.orne.test.rnd.paramsModifier and TypeInterfaceDescriptioninterfaceInterface for random value generators with optional parameters.interfaceExtension ofParameterizableGeneratorfor generators that only provide one type of values.Classes in dev.orne.test.rnd.params that implement GeneratorModifier and TypeClassDescriptionclassAbstract implementation ofParameterizableGenerator.classAbstract implementation ofTypedParameterizableGenerator.classGenerator that calls a constructor with generated parameters to generate values of the target type.classAbstract generator that calls an executable with generated parameters to generate values of the target type.classGenerator that calls a static factory method with generated parameters to generate values of the target type.Methods in dev.orne.test.rnd.params that return GeneratorModifier and TypeMethodDescriptionprotected @NotNull GeneratorAbstractTargetedGenerator.getGenerator()Returns the generator to use.Constructors in dev.orne.test.rnd.params with parameters of type GeneratorModifierConstructorDescriptionprotectedAbstractTargetedGenerator(@NotNull Class<T> valueType, @NotNull Generator generator) Creates a new instance.protectedConstructorParameterTypeGenerator(@NotNull Class<T> valueType, @NotNull Constructor<?> constructor, int parameterIndex, @NotNull Generator generator) Creates a new instance.protectedMethodParameterTypeGenerator(@NotNull Class<T> valueType, @NotNull Method method, int parameterIndex, @NotNull Generator generator) Creates a new instance.protectedMethodReturnTypeGenerator(@NotNull Class<T> valueType, @NotNull Method method, @NotNull Generator generator) Creates a new instance.protectedParameterTypeGenerator(@NotNull Class<T> valueType, @NotNull Parameter parameter, @NotNull Generator generator) Creates a new instance.protectedPropertyTypeGenerator(@NotNull Class<T> valueType, @NotNull Class<?> validationClass, @NotNull Field property, @NotNull Generator generator) Creates a new instance.