- getAnnotation(Field, Class<T>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Looks for given annotationType on given field or read method for field.
- getCharset() - Method in class org.jeasy.random.EasyRandomParameters
-
- getCollectionSizeRange() - Method in class org.jeasy.random.EasyRandomParameters
-
- getCurrentField() - Method in interface org.jeasy.random.api.RandomizerContext
-
Return the full path to the current field being randomized (starting from the first field in the root type).
- getCurrentObject() - Method in interface org.jeasy.random.api.RandomizerContext
-
Return the currently randomized object in the object graph.
- getCurrentRandomizationDepth() - Method in interface org.jeasy.random.api.RandomizerContext
-
Get the current level in the hierarchy of the object graph.
- getDateRange() - Method in class org.jeasy.random.EasyRandomParameters
-
- getDeclaredFields(T) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Get declared fields of a given type.
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.AbstractRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.ByteRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.DateRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.DoubleRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.FloatRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.InstantRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.IntegerRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.LocalDateRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.LocalDateTimeRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.LocalTimeRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.LongRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.OffsetDateTimeRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.OffsetTimeRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.ShortRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.SqlDateRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.YearMonthRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.YearRangeRandomizer
-
- getDefaultMaxValue() - Method in class org.jeasy.random.randomizers.range.ZonedDateTimeRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.AbstractRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.ByteRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.DateRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.DoubleRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.FloatRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.InstantRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.IntegerRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.LocalDateRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.LocalDateTimeRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.LocalTimeRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.LongRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.OffsetDateTimeRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.OffsetTimeRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.ShortRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.SqlDateRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.YearMonthRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.YearRangeRandomizer
-
- getDefaultMinValue() - Method in class org.jeasy.random.randomizers.range.ZonedDateTimeRangeRandomizer
-
- getEmptyImplementationForCollectionInterface(Class<?>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Return an empty implementation for a Collection
type.
- getEmptyImplementationForMapInterface(Class<?>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Return an empty implementation for the given Map
interface.
- getExclusionPolicy() - Method in class org.jeasy.random.EasyRandomParameters
-
- getFieldExclusionPredicates() - Method in class org.jeasy.random.EasyRandomParameters
-
- getFieldValue(Object, Field) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Get the value (accessible or not accessible) of a field of a target object.
- getInheritedFields(Class<?>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Get inherited fields of a given type.
- getMax() - Method in class org.jeasy.random.EasyRandomParameters.Range
-
- getMin() - Method in class org.jeasy.random.EasyRandomParameters.Range
-
- getObjectFactory() - Method in class org.jeasy.random.EasyRandomParameters
-
- getObjectPoolSize() - Method in class org.jeasy.random.EasyRandomParameters
-
- getParameters() - Method in interface org.jeasy.random.api.RandomizerContext
-
Return the currently used parameters by the enclosing
EasyRandom
.
- getPredefinedValuesOf(String) - Method in class org.jeasy.random.randomizers.AbstractRandomizer
-
- getPublicConcreteSubTypesOf(Class<T>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Searches the classpath for all public concrete subtypes of the given interface or abstract class.
- getRandomizationDepth() - Method in class org.jeasy.random.EasyRandomParameters
-
- getRandomizer(Field) - Method in interface org.jeasy.random.api.RandomizerRegistry
-
Retrieves a randomizer for the given field.
- getRandomizer(Class<?>) - Method in interface org.jeasy.random.api.RandomizerRegistry
-
Retrieves a randomizer for a given type.
- getRandomizer(Field) - Method in class org.jeasy.random.randomizers.registry.AnnotationRandomizerRegistry
-
Retrieves a randomizer for the given field.
- getRandomizer(Class<?>) - Method in class org.jeasy.random.randomizers.registry.AnnotationRandomizerRegistry
-
Retrieves a randomizer for a given type.
- getRandomizer(Field) - Method in class org.jeasy.random.randomizers.registry.CustomRandomizerRegistry
-
- getRandomizer(Class<?>) - Method in class org.jeasy.random.randomizers.registry.CustomRandomizerRegistry
-
- getRandomizer(Field) - Method in class org.jeasy.random.randomizers.registry.ExclusionRandomizerRegistry
-
Retrieves a randomizer for the given field.
- getRandomizer(Class<?>) - Method in class org.jeasy.random.randomizers.registry.ExclusionRandomizerRegistry
-
Retrieves a randomizer for a given type.
- getRandomizer(Field) - Method in class org.jeasy.random.randomizers.registry.InternalRandomizerRegistry
-
- getRandomizer(Class<?>) - Method in class org.jeasy.random.randomizers.registry.InternalRandomizerRegistry
-
Retrieves a randomizer for a given type.
- getRandomizer(Field) - Method in class org.jeasy.random.randomizers.registry.TimeRandomizerRegistry
-
- getRandomizer(Class<?>) - Method in class org.jeasy.random.randomizers.registry.TimeRandomizerRegistry
-
- getRandomizerByField(Field, RandomizerContext) - Method in interface org.jeasy.random.api.RandomizerProvider
-
Return a randomizer for the given field in the current context.
- getRandomizerByType(Class<T>, RandomizerContext) - Method in interface org.jeasy.random.api.RandomizerProvider
-
Return a randomizer for the given type in the current context.
- getRandomizerProvider() - Method in class org.jeasy.random.EasyRandomParameters
-
- getRandomValue() - Method in interface org.jeasy.random.api.Randomizer
-
Generate a random value for the given type.
- getRandomValue() - Method in class org.jeasy.random.randomizers.collection.EnumSetRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.collection.ListRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.collection.MapRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.collection.QueueRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.collection.SetRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.misc.BooleanRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.misc.ConstantRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.misc.EnumRandomizer
-
Get a random value within an enumeration or an enumeration subset (when values are excluded)
- getRandomValue() - Method in class org.jeasy.random.randomizers.misc.LocaleRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.misc.NullRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.misc.OptionalRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.misc.SkipRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.misc.UUIDRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.net.UriRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.net.UrlRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.number.AtomicIntegerRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.number.AtomicLongRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.number.BigDecimalRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.number.BigIntegerRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.number.ByteRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.number.DoubleRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.number.FloatRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.number.IntegerRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.number.LongRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.number.NumberRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.number.ShortRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.BigDecimalRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.BigIntegerRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.ByteRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.DateRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.DoubleRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.FloatRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.InstantRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.IntegerRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.LocalDateRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.LocalDateTimeRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.LocalTimeRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.LongRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.OffsetDateTimeRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.OffsetTimeRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.ShortRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.SqlDateRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.YearMonthRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.YearRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.range.ZonedDateTimeRangeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.text.CharacterRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.text.StringDelegatingRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.text.StringRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.CalendarRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.DateRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.DayRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.DurationRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.GregorianCalendarRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.HourRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.InstantRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.LocalDateRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.LocalDateTimeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.LocalTimeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.MinuteRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.MonthDayRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.NanoSecondRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.OffsetDateTimeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.OffsetTimeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.PeriodRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.SqlDateRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.SqlTimeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.SqlTimestampRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.TimeZoneRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.YearMonthRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.YearRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.ZonedDateTimeRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.ZoneIdRandomizer
-
- getRandomValue() - Method in class org.jeasy.random.randomizers.time.ZoneOffsetRandomizer
-
- getReadMethod(Field) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Get the read method for given field.
- getRootObject() - Method in interface org.jeasy.random.api.RandomizerContext
-
- getSeed() - Method in class org.jeasy.random.EasyRandomParameters
-
- getStringLengthRange() - Method in class org.jeasy.random.EasyRandomParameters
-
- getTargetType() - Method in interface org.jeasy.random.api.RandomizerContext
-
- getTimeRange() - Method in class org.jeasy.random.EasyRandomParameters
-
- getTypeExclusionPredicates() - Method in class org.jeasy.random.EasyRandomParameters
-
- getWrapperType(Class<?>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Get wrapper type of a primitive type.
- getWriteMethod(Field) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Get the write method for given field.
- GregorianCalendarRandomizer - Class in org.jeasy.random.randomizers.time
-
- GregorianCalendarRandomizer() - Constructor for class org.jeasy.random.randomizers.time.GregorianCalendarRandomizer
-
- GregorianCalendarRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.GregorianCalendarRandomizer
-
- ignoreRandomizationErrors(boolean) - Method in class org.jeasy.random.EasyRandomParameters
-
With this parameter, any randomization error will be silently ignored and the corresponding field will be set to null.
- inClass(Class<?>) - Static method in class org.jeasy.random.FieldPredicates
-
Create a predicate to check that a field is defined in a given class.
- init(EasyRandomParameters) - Method in interface org.jeasy.random.api.RandomizerRegistry
-
Initialize the registry.
- init(EasyRandomParameters) - Method in class org.jeasy.random.randomizers.registry.AnnotationRandomizerRegistry
-
- init(EasyRandomParameters) - Method in class org.jeasy.random.randomizers.registry.CustomRandomizerRegistry
-
- init(EasyRandomParameters) - Method in class org.jeasy.random.randomizers.registry.ExclusionRandomizerRegistry
-
Initialize the registry.
- init(EasyRandomParameters) - Method in class org.jeasy.random.randomizers.registry.InternalRandomizerRegistry
-
- init(EasyRandomParameters) - Method in class org.jeasy.random.randomizers.registry.TimeRandomizerRegistry
-
- inPackage(String) - Static method in class org.jeasy.random.TypePredicates
-
Create a predicate to check that a type is defined in a given package.
- InstantRandomizer - Class in org.jeasy.random.randomizers.time
-
- InstantRandomizer() - Constructor for class org.jeasy.random.randomizers.time.InstantRandomizer
-
- InstantRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.InstantRandomizer
-
- InstantRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
- InstantRangeRandomizer(Instant, Instant) - Constructor for class org.jeasy.random.randomizers.range.InstantRangeRandomizer
-
- InstantRangeRandomizer(Instant, Instant, long) - Constructor for class org.jeasy.random.randomizers.range.InstantRangeRandomizer
-
- IntegerRandomizer - Class in org.jeasy.random.randomizers.number
-
Generate a random Integer
.
- IntegerRandomizer() - Constructor for class org.jeasy.random.randomizers.number.IntegerRandomizer
-
- IntegerRandomizer(long) - Constructor for class org.jeasy.random.randomizers.number.IntegerRandomizer
-
- IntegerRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random Integer
in the given range.
- IntegerRangeRandomizer(Integer, Integer) - Constructor for class org.jeasy.random.randomizers.range.IntegerRangeRandomizer
-
- IntegerRangeRandomizer(Integer, Integer, long) - Constructor for class org.jeasy.random.randomizers.range.IntegerRangeRandomizer
-
- InternalRandomizerRegistry - Class in org.jeasy.random.randomizers.registry
-
Registry for Java built-in types.
- InternalRandomizerRegistry() - Constructor for class org.jeasy.random.randomizers.registry.InternalRandomizerRegistry
-
- isAbstract() - Static method in class org.jeasy.random.TypePredicates
-
Create a predicate to check if a class is abstract.
- isAbstract(Class<T>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if the type is abstract (either an interface or an abstract class).
- isAnnotatedWith(Class<? extends Annotation>...) - Static method in class org.jeasy.random.FieldPredicates
-
Create a predicate to check that a field is annotated with one of the given annotations.
- isAnnotatedWith(Class<? extends Annotation>...) - Static method in class org.jeasy.random.TypePredicates
-
Create a predicate to check that a type is annotated with one of the given annotations.
- isAnnotationPresent(Field, Class<? extends Annotation>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Checks if field or corresponding read method is annotated with given annotationType.
- isArray() - Static method in class org.jeasy.random.TypePredicates
-
Create a predicate to check if a type is an array.
- isArrayType(Class<?>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a type is an array type.
- isAssignableFrom(Class<?>) - Static method in class org.jeasy.random.TypePredicates
-
Create a predicate to check if a type is is assignable from another type.
- isBypassSetters() - Method in class org.jeasy.random.EasyRandomParameters
-
- isCollectionType(Class<?>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a type is a collection type.
- isCollectionType(Type) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a type is a collection type.
- isEnum() - Static method in class org.jeasy.random.TypePredicates
-
Create a predicate to check if a type is an enumeration.
- isEnumType(Class<?>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a type is an enum type.
- isIgnoreRandomizationErrors() - Method in class org.jeasy.random.EasyRandomParameters
-
- isInterface() - Static method in class org.jeasy.random.TypePredicates
-
Create a predicate to check if a type is an interface.
- isInterface(Class<?>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a type is an interface.
- isIntrospectable(Class<?>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a type should be introspected for internal fields.
- isJdkBuiltIn(Class<?>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a type is a JDK built-in collection/map.
- isMapType(Class<?>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a type is a map type.
- isOptionalType(Class<?>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a type is Optional
.
- isOverrideDefaultInitialization() - Method in class org.jeasy.random.EasyRandomParameters
-
- isParameterizedType(Type) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a type is a parameterized type
- isPopulatable(Type) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a type is populatable.
- isPrimitive() - Static method in class org.jeasy.random.TypePredicates
-
Create a predicate to check if a type is primitive.
- isPrimitiveFieldWithDefaultValue(Object, Field) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a field has a primitive type and matching default value which is set by the compiler.
- isPublic(Class<T>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if the type is public.
- isScanClasspathForConcreteTypes() - Method in class org.jeasy.random.EasyRandomParameters
-
- isStatic(Field) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a field is static.
- isTypeVariable(Type) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a type is a type variable
- isWildcardType(Type) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Check if a type is a wildcard type
- ObjectCreationException - Exception in org.jeasy.random
-
Exception thrown when Easy Random is unable to create an instance of a given type.
- ObjectCreationException(String) - Constructor for exception org.jeasy.random.ObjectCreationException
-
- ObjectCreationException(String, Throwable) - Constructor for exception org.jeasy.random.ObjectCreationException
-
- ObjectFactory - Interface in org.jeasy.random.api
-
Strategy interface for object creation.
- objectFactory(ObjectFactory) - Method in class org.jeasy.random.EasyRandomParameters
-
Provide a custom object factory.
- objectPoolSize(int) - Method in class org.jeasy.random.EasyRandomParameters
-
Set the number of different objects to generate for a type.
- objects(Class<T>, int) - Method in class org.jeasy.random.EasyRandom
-
Generate a stream of random instances of the given type.
- ObjenesisObjectFactory - Class in org.jeasy.random
-
Objenesis based factory to create "fancy" objects: immutable java beans, generic types, abstract and interface types.
- ObjenesisObjectFactory() - Constructor for class org.jeasy.random.ObjenesisObjectFactory
-
- OffsetDateTimeRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates random
OffsetDateTime
.
- OffsetDateTimeRandomizer() - Constructor for class org.jeasy.random.randomizers.time.OffsetDateTimeRandomizer
-
- OffsetDateTimeRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.OffsetDateTimeRandomizer
-
- OffsetDateTimeRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random OffsetDateTime
in the given range.
- OffsetDateTimeRangeRandomizer(OffsetDateTime, OffsetDateTime) - Constructor for class org.jeasy.random.randomizers.range.OffsetDateTimeRangeRandomizer
-
- OffsetDateTimeRangeRandomizer(OffsetDateTime, OffsetDateTime, long) - Constructor for class org.jeasy.random.randomizers.range.OffsetDateTimeRangeRandomizer
-
- OffsetTimeRandomizer - Class in org.jeasy.random.randomizers.time
-
- OffsetTimeRandomizer() - Constructor for class org.jeasy.random.randomizers.time.OffsetTimeRandomizer
-
- OffsetTimeRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.OffsetTimeRandomizer
-
- OffsetTimeRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random OffsetTime
in the given range.
- OffsetTimeRangeRandomizer(OffsetTime, OffsetTime) - Constructor for class org.jeasy.random.randomizers.range.OffsetTimeRangeRandomizer
-
- OffsetTimeRangeRandomizer(OffsetTime, OffsetTime, long) - Constructor for class org.jeasy.random.randomizers.range.OffsetTimeRangeRandomizer
-
- ofType(Class<?>) - Static method in class org.jeasy.random.FieldPredicates
-
Create a predicate to check that a field has a certain type.
- ofType(Class<?>) - Static method in class org.jeasy.random.TypePredicates
-
Create a predicate to check that a class has a certain type.
- OptionalRandomizer<T> - Class in org.jeasy.random.randomizers.misc
-
A
Randomizer
which, according to the optional percent, returns the random value from a delegate.
- OptionalRandomizer(Randomizer<T>, int) - Constructor for class org.jeasy.random.randomizers.misc.OptionalRandomizer
-
Create a new
OptionalRandomizer
with a delegate randomizer and an optional percent threshold.
- org.jeasy.random - package org.jeasy.random
-
Core implementation of Easy Random.
- org.jeasy.random.annotation - package org.jeasy.random.annotation
-
Public annotations.
- org.jeasy.random.api - package org.jeasy.random.api
-
Public API.
- org.jeasy.random.randomizers - package org.jeasy.random.randomizers
-
- org.jeasy.random.randomizers.collection - package org.jeasy.random.randomizers.collection
-
This package contains collection randomizers.
- org.jeasy.random.randomizers.misc - package org.jeasy.random.randomizers.misc
-
This package contains miscellaneous randomizers.
- org.jeasy.random.randomizers.net - package org.jeasy.random.randomizers.net
-
This package contains java.net types randomizers.
- org.jeasy.random.randomizers.number - package org.jeasy.random.randomizers.number
-
This package contains number randomizers.
- org.jeasy.random.randomizers.range - package org.jeasy.random.randomizers.range
-
This package contains range randomizers.
- org.jeasy.random.randomizers.registry - package org.jeasy.random.randomizers.registry
-
This package contains internal registries.
- org.jeasy.random.randomizers.text - package org.jeasy.random.randomizers.text
-
This package contains text types randomizers.
- org.jeasy.random.randomizers.time - package org.jeasy.random.randomizers.time
-
This package contains randomizers for date and time types.
- org.jeasy.random.util - package org.jeasy.random.util
-
Public utility classes.
- overrideDefaultInitialization(boolean) - Method in class org.jeasy.random.EasyRandomParameters
-
Should default initialization of field values be overridden?
E.g.