Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractRandomizer<T> - Class in org.jeasy.random.randomizers
-
Base class for
Randomizer
implementations. - AbstractRandomizer() - Constructor for class org.jeasy.random.randomizers.AbstractRandomizer
- AbstractRandomizer(long) - Constructor for class org.jeasy.random.randomizers.AbstractRandomizer
- AbstractRangeRandomizer<T> - Class in org.jeasy.random.randomizers.range
-
Abstract class for range randomizers.
- AbstractRangeRandomizer(T, T) - Constructor for class org.jeasy.random.randomizers.range.AbstractRangeRandomizer
- AbstractRangeRandomizer(T, T, long) - Constructor for class org.jeasy.random.randomizers.range.AbstractRangeRandomizer
- addFieldPredicate(Predicate<Field>) - Method in class org.jeasy.random.randomizers.registry.ExclusionRandomizerRegistry
-
Add a field predicate.
- addTypePredicate(Predicate<Class<?>>) - Method in class org.jeasy.random.randomizers.registry.ExclusionRandomizerRegistry
-
Add a type predicate.
- AnnotationRandomizerRegistry - Class in org.jeasy.random.randomizers.registry
-
A
RandomizerRegistry
for fields annotated withRandomizer
. - AnnotationRandomizerRegistry() - Constructor for class org.jeasy.random.randomizers.registry.AnnotationRandomizerRegistry
- args() - Element in annotation interface org.jeasy.random.annotation.Randomizer
- asRandomizer(Supplier<T>) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Create a dynamic proxy that adapts the given
Supplier
to aRandomizer
. - AtomicIntegerRandomizer - Class in org.jeasy.random.randomizers.number
-
Generate a random
AtomicInteger
. - AtomicIntegerRandomizer() - Constructor for class org.jeasy.random.randomizers.number.AtomicIntegerRandomizer
-
Create a new
AtomicIntegerRandomizer
. - AtomicIntegerRandomizer(long) - Constructor for class org.jeasy.random.randomizers.number.AtomicIntegerRandomizer
-
Create a new
AtomicIntegerRandomizer
. - AtomicLongRandomizer - Class in org.jeasy.random.randomizers.number
-
Generate a random
AtomicLong
. - AtomicLongRandomizer() - Constructor for class org.jeasy.random.randomizers.number.AtomicLongRandomizer
-
Create a new
AtomicLongRandomizer
. - AtomicLongRandomizer(long) - Constructor for class org.jeasy.random.randomizers.number.AtomicLongRandomizer
-
Create a new
AtomicLongRandomizer
.
B
- BigDecimalRandomizer - Class in org.jeasy.random.randomizers.number
-
Generate a random
BigDecimal
. - BigDecimalRandomizer() - Constructor for class org.jeasy.random.randomizers.number.BigDecimalRandomizer
-
Create a new
BigDecimalRandomizer
. - BigDecimalRandomizer(long) - Constructor for class org.jeasy.random.randomizers.number.BigDecimalRandomizer
-
Create a new
BigDecimalRandomizer
. - BigDecimalRandomizer(long, Integer, RoundingMode) - Constructor for class org.jeasy.random.randomizers.number.BigDecimalRandomizer
-
Create a new
BigDecimalRandomizer
. - BigDecimalRandomizer(Integer) - Constructor for class org.jeasy.random.randomizers.number.BigDecimalRandomizer
-
Create a new
BigDecimalRandomizer
. - BigDecimalRandomizer(Integer, RoundingMode) - Constructor for class org.jeasy.random.randomizers.number.BigDecimalRandomizer
-
Create a new
BigDecimalRandomizer
. - BigDecimalRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
BigDecimal
in the given range. - BigDecimalRangeRandomizer(Double, Double) - Constructor for class org.jeasy.random.randomizers.range.BigDecimalRangeRandomizer
-
Create a new
BigDecimalRangeRandomizer
. - BigDecimalRangeRandomizer(Double, Double, long) - Constructor for class org.jeasy.random.randomizers.range.BigDecimalRangeRandomizer
-
Create a new
BigDecimalRangeRandomizer
. - BigDecimalRangeRandomizer(Double, Double, long, Integer) - Constructor for class org.jeasy.random.randomizers.range.BigDecimalRangeRandomizer
-
Create a new
BigDecimalRangeRandomizer
. - BigDecimalRangeRandomizer(Double, Double, long, Integer, RoundingMode) - Constructor for class org.jeasy.random.randomizers.range.BigDecimalRangeRandomizer
-
Create a new
BigDecimalRangeRandomizer
. - BigDecimalRangeRandomizer(Double, Double, Integer) - Constructor for class org.jeasy.random.randomizers.range.BigDecimalRangeRandomizer
-
Create a new
BigDecimalRangeRandomizer
. - BigDecimalRangeRandomizer(Double, Double, Integer, RoundingMode) - Constructor for class org.jeasy.random.randomizers.range.BigDecimalRangeRandomizer
-
Create a new
BigDecimalRangeRandomizer
. - BigIntegerRandomizer - Class in org.jeasy.random.randomizers.number
-
Generate a random
BigInteger
. - BigIntegerRandomizer() - Constructor for class org.jeasy.random.randomizers.number.BigIntegerRandomizer
-
Create a new
BigIntegerRandomizer
. - BigIntegerRandomizer(long) - Constructor for class org.jeasy.random.randomizers.number.BigIntegerRandomizer
-
Create a new
BigIntegerRandomizer
. - BigIntegerRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
BigInteger
in the given range. - BigIntegerRangeRandomizer(Integer, Integer) - Constructor for class org.jeasy.random.randomizers.range.BigIntegerRangeRandomizer
-
Create a new
BigIntegerRangeRandomizer
. - BigIntegerRangeRandomizer(Integer, Integer, long) - Constructor for class org.jeasy.random.randomizers.range.BigIntegerRangeRandomizer
-
Create a new
BigIntegerRangeRandomizer
. - BooleanRandomizer - Class in org.jeasy.random.randomizers.misc
-
Generate a random
Boolean
. - BooleanRandomizer() - Constructor for class org.jeasy.random.randomizers.misc.BooleanRandomizer
-
Create a new
BooleanRandomizer
. - BooleanRandomizer(long) - Constructor for class org.jeasy.random.randomizers.misc.BooleanRandomizer
-
Create a new
BooleanRandomizer
. - bypassSetters(boolean) - Method in class org.jeasy.random.EasyRandomParameters
-
Flag to bypass setters if any and use reflection directly instead.
- ByteRandomizer - Class in org.jeasy.random.randomizers.number
-
Generate a random
Byte
. - ByteRandomizer() - Constructor for class org.jeasy.random.randomizers.number.ByteRandomizer
-
Create a new
ByteRandomizer
. - ByteRandomizer(long) - Constructor for class org.jeasy.random.randomizers.number.ByteRandomizer
-
Create a new
ByteRandomizer
. - ByteRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
Byte
in the given range. - ByteRangeRandomizer(Byte, Byte) - Constructor for class org.jeasy.random.randomizers.range.ByteRangeRandomizer
-
Create a new
ByteRangeRandomizer
. - ByteRangeRandomizer(Byte, Byte, long) - Constructor for class org.jeasy.random.randomizers.range.ByteRangeRandomizer
-
Create a new
ByteRangeRandomizer
.
C
- CalendarRandomizer - Class in org.jeasy.random.randomizers.time
-
Generate a random
Calendar
. - CalendarRandomizer() - Constructor for class org.jeasy.random.randomizers.time.CalendarRandomizer
-
Create a new
CalendarRandomizer
. - CalendarRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.CalendarRandomizer
-
Create a new
CalendarRandomizer
. - CharacterRandomizer - Class in org.jeasy.random.randomizers.text
-
Generate a random
Character
. - CharacterRandomizer() - Constructor for class org.jeasy.random.randomizers.text.CharacterRandomizer
-
Create a new
CharacterRandomizer
. - CharacterRandomizer(long) - Constructor for class org.jeasy.random.randomizers.text.CharacterRandomizer
-
Create a new
CharacterRandomizer
. - CharacterRandomizer(Charset) - Constructor for class org.jeasy.random.randomizers.text.CharacterRandomizer
-
Create a new
CharacterRandomizer
. - CharacterRandomizer(Charset, long) - Constructor for class org.jeasy.random.randomizers.text.CharacterRandomizer
-
Create a new
CharacterRandomizer
. - CharacterUtils - Class in org.jeasy.random.util
-
Character utility methods.
- charset(Charset) - Method in class org.jeasy.random.EasyRandomParameters
-
Set the charset to use for character based fields.
- checkValues() - Method in class org.jeasy.random.randomizers.range.AbstractRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.ByteRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.DateRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.DoubleRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.FloatRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.InstantRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.IntegerRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.LocalDateRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.LocalDateTimeRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.LocalTimeRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.LongRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.OffsetDateTimeRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.OffsetTimeRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.ShortRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.SqlDateRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.YearMonthRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.YearRangeRandomizer
- checkValues() - Method in class org.jeasy.random.randomizers.range.ZonedDateTimeRangeRandomizer
- collectionSizeRange(int, int) - Method in class org.jeasy.random.EasyRandomParameters
-
Set the collection size range.
- collectPrintableCharactersOf(Charset) - Static method in class org.jeasy.random.util.CharacterUtils
-
Returns a list of all printable charaters of the given charset.
- ConstantRandomizer<T> - Class in org.jeasy.random.randomizers.misc
-
A
Randomizer
that generates constant values. - ConstantRandomizer(T) - Constructor for class org.jeasy.random.randomizers.misc.ConstantRandomizer
-
Create a new
ConstantRandomizer
. - ContextAwareRandomizer<T> - Interface in org.jeasy.random.api
-
Interface for a
Randomizer
that is aware of therandomization context
it is invoked in. - ConversionUtils - Class in org.jeasy.random.util
-
Type conversion utility methods.
- convertArguments(RandomizerArgument[]) - Static method in class org.jeasy.random.util.ConversionUtils
- copy() - Method in class org.jeasy.random.EasyRandomParameters
-
Return a shallow copy of randomization parameters.
- createEmptyCollectionForType(Class<?>, int) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Create an empty collection for the given type.
- createInstance(Class<T>, RandomizerContext) - Method in interface org.jeasy.random.api.ObjectFactory
-
Create a new instance of
type
in the given randomization context. - createInstance(Class<T>, RandomizerContext) - Method in class org.jeasy.random.ObjenesisObjectFactory
- createInstance(Class<T>, RandomizerContext) - Method in class org.jeasy.random.RecordFactory
- CustomRandomizerRegistry - Class in org.jeasy.random.randomizers.registry
-
Registry of user defined randomizers.
- CustomRandomizerRegistry() - Constructor for class org.jeasy.random.randomizers.registry.CustomRandomizerRegistry
D
- DateRandomizer - Class in org.jeasy.random.randomizers.time
-
Generate a random
Date
. - DateRandomizer() - Constructor for class org.jeasy.random.randomizers.time.DateRandomizer
-
Create a new
DateRandomizer
. - DateRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.DateRandomizer
-
Create a new
DateRandomizer
. - dateRange(LocalDate, LocalDate) - Method in class org.jeasy.random.EasyRandomParameters
-
Set the date range.
- DateRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
Date
in the given range. - DateRangeRandomizer(Date, Date) - Constructor for class org.jeasy.random.randomizers.range.DateRangeRandomizer
-
Create a new
DateRangeRandomizer
. - DateRangeRandomizer(Date, Date, long) - Constructor for class org.jeasy.random.randomizers.range.DateRangeRandomizer
-
Create a new
DateRangeRandomizer
. - DayRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates a random day value betweenDayRandomizer.MIN_DAY
andDayRandomizer.MAX_DAY
. - DayRandomizer() - Constructor for class org.jeasy.random.randomizers.time.DayRandomizer
- DayRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.DayRandomizer
- DEFAULT_CHARSET - Static variable in class org.jeasy.random.EasyRandomParameters
-
Default charset for Strings.
- DEFAULT_COLLECTION_SIZE_RANGE - Static variable in class org.jeasy.random.EasyRandomParameters
-
Default collection size range.
- DEFAULT_DATE_RANGE - Static variable in class org.jeasy.random.EasyRandomParameters
-
Default date range in which dates will be generated: [now - 10 years, now + 10 years].
- DEFAULT_DATES_RANGE - Static variable in class org.jeasy.random.EasyRandomParameters
-
Default dates range.
- DEFAULT_OBJECT_POOL_SIZE - Static variable in class org.jeasy.random.EasyRandomParameters
-
Number of different objects to generate for a type.
- DEFAULT_RANDOMIZATION_DEPTH - Static variable in class org.jeasy.random.EasyRandomParameters
-
Default value for randomization depth, which mean, that randomization depth is unlimited
- DEFAULT_SEED - Static variable in class org.jeasy.random.EasyRandomParameters
-
Default seed.
- DEFAULT_STRING_LENGTH_RANGE - Static variable in class org.jeasy.random.EasyRandomParameters
-
Default string length size.
- DefaultExclusionPolicy - Class in org.jeasy.random
-
Component that encapsulates the logic of field/type exclusion in a given randomization context.
- DefaultExclusionPolicy() - Constructor for class org.jeasy.random.DefaultExclusionPolicy
- DoubleRandomizer - Class in org.jeasy.random.randomizers.number
-
Generate a random
Double
. - DoubleRandomizer() - Constructor for class org.jeasy.random.randomizers.number.DoubleRandomizer
-
Create a new
DoubleRandomizer
. - DoubleRandomizer(long) - Constructor for class org.jeasy.random.randomizers.number.DoubleRandomizer
-
Create a new
DoubleRandomizer
. - DoubleRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
Double
in the given range. - DoubleRangeRandomizer(Double, Double) - Constructor for class org.jeasy.random.randomizers.range.DoubleRangeRandomizer
-
Create a new
DoubleRangeRandomizer
. - DoubleRangeRandomizer(Double, Double, long) - Constructor for class org.jeasy.random.randomizers.range.DoubleRangeRandomizer
-
Create a new
DoubleRangeRandomizer
. - DurationRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates randomDuration
. - DurationRandomizer() - Constructor for class org.jeasy.random.randomizers.time.DurationRandomizer
-
Create a new
DurationRandomizer
. - DurationRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.DurationRandomizer
-
Create a new
DurationRandomizer
. - DurationRandomizer(long, TemporalUnit) - Constructor for class org.jeasy.random.randomizers.time.DurationRandomizer
-
Create a new
DurationRandomizer
. - DurationRandomizer(TemporalUnit) - Constructor for class org.jeasy.random.randomizers.time.DurationRandomizer
-
Create a new
DurationRandomizer
.
E
- EasyRandom - Class in org.jeasy.random
-
Extension of
Random
that is able to generate random Java objects. - EasyRandom() - Constructor for class org.jeasy.random.EasyRandom
-
Create a new
EasyRandom
instance with default parameters. - EasyRandom(EasyRandomParameters) - Constructor for class org.jeasy.random.EasyRandom
-
Create a new
EasyRandom
instance. - EasyRandomParameters - Class in org.jeasy.random
-
Parameters of an
EasyRandom
instance. - EasyRandomParameters() - Constructor for class org.jeasy.random.EasyRandomParameters
-
Create a new
EasyRandomParameters
with default values. - EasyRandomParameters.Range<T> - Class in org.jeasy.random
-
Utility class to hold a range of values.
- EnumRandomizer<E extends Enum<E>> - Class in org.jeasy.random.randomizers.misc
-
A
Randomizer
that generates a random value from a givenEnum
. - EnumRandomizer(Class<E>) - Constructor for class org.jeasy.random.randomizers.misc.EnumRandomizer
-
Create a new
EnumRandomizer
. - EnumRandomizer(Class<E>, long) - Constructor for class org.jeasy.random.randomizers.misc.EnumRandomizer
-
Create a new
EnumRandomizer
. - EnumRandomizer(Class<E>, E...) - Constructor for class org.jeasy.random.randomizers.misc.EnumRandomizer
-
Create a new
EnumRandomizer
. - EnumSetRandomizer<E extends Enum<E>> - Class in org.jeasy.random.randomizers.collection
- EnumSetRandomizer(EnumRandomizer<E>) - Constructor for class org.jeasy.random.randomizers.collection.EnumSetRandomizer
-
Create a new
EnumSetRandomizer
that will generate anEnumSet
with a random number of elements. - EnumSetRandomizer(EnumRandomizer<E>, int) - Constructor for class org.jeasy.random.randomizers.collection.EnumSetRandomizer
-
Create a new
EnumSetRandomizer
that will generate anEnumSet
with a fixed number of elements. - Exclude - Annotation Interface in org.jeasy.random.annotation
-
Annotation to exclude a field from being populated.
- excludeField(Predicate<Field>) - Method in class org.jeasy.random.EasyRandomParameters
-
Exclude a field from being randomized.
- excludeType(Predicate<Class<?>>) - Method in class org.jeasy.random.EasyRandomParameters
-
Exclude a type from being randomized.
- exclusionPolicy(ExclusionPolicy) - Method in class org.jeasy.random.EasyRandomParameters
-
Provide a custom exclusion policy.
- ExclusionPolicy - Interface in org.jeasy.random.api
-
Strategy interface for field/type exclusion.
- ExclusionRandomizerRegistry - Class in org.jeasy.random.randomizers.registry
-
A
RandomizerRegistry
to exclude fields using aPredicate
. - ExclusionRandomizerRegistry() - Constructor for class org.jeasy.random.randomizers.registry.ExclusionRandomizerRegistry
F
- FieldPredicates - Class in org.jeasy.random
-
Common predicates to identify fields.
- FieldPredicates() - Constructor for class org.jeasy.random.FieldPredicates
- filterLetters(List<Character>) - Static method in class org.jeasy.random.util.CharacterUtils
-
Keep only letters from a list of characters.
- filterSameParameterizedTypes(List<Class<?>>, Type) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Filters a list of types to keep only elements having the same parameterized types as the given type.
- FloatRandomizer - Class in org.jeasy.random.randomizers.number
-
Generate a random
Float
. - FloatRandomizer() - Constructor for class org.jeasy.random.randomizers.number.FloatRandomizer
-
Create a new
FloatRandomizer
. - FloatRandomizer(long) - Constructor for class org.jeasy.random.randomizers.number.FloatRandomizer
-
Create a new
FloatRandomizer
. - FloatRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
Float
in the given range. - FloatRangeRandomizer(Float, Float) - Constructor for class org.jeasy.random.randomizers.range.FloatRangeRandomizer
-
Create a new
FloatRangeRandomizer
. - FloatRangeRandomizer(Float, Float, long) - Constructor for class org.jeasy.random.randomizers.range.FloatRangeRandomizer
-
Create a new
FloatRangeRandomizer
.
G
- 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(Class<?>) - Method in interface org.jeasy.random.api.RandomizerRegistry
-
Retrieves a randomizer for a given type.
- getRandomizer(Class<?>) - Method in class org.jeasy.random.randomizers.registry.AnnotationRandomizerRegistry
-
Retrieves a randomizer for a given type.
- getRandomizer(Class<?>) - Method in class org.jeasy.random.randomizers.registry.CustomRandomizerRegistry
- getRandomizer(Class<?>) - Method in class org.jeasy.random.randomizers.registry.ExclusionRandomizerRegistry
-
Retrieves a randomizer for a given type.
- getRandomizer(Class<?>) - Method in class org.jeasy.random.randomizers.registry.InternalRandomizerRegistry
-
Retrieves a randomizer for a given type.
- getRandomizer(Class<?>) - Method in class org.jeasy.random.randomizers.registry.TimeRandomizerRegistry
- getRandomizer(Field) - Method in interface org.jeasy.random.api.RandomizerRegistry
-
Retrieves a randomizer for the given field.
- getRandomizer(Field) - Method in class org.jeasy.random.randomizers.registry.AnnotationRandomizerRegistry
-
Retrieves a randomizer for the given field.
- getRandomizer(Field) - 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(Field) - Method in class org.jeasy.random.randomizers.registry.InternalRandomizerRegistry
- getRandomizer(Field) - 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
-
Return the root object being randomized (instance of
RandomizerContext.getTargetType()
. - 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
-
Return the target type (parameter of
EasyRandom.nextObject(Class)
). - 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
-
Generate a random
GregorianCalendarRandomizer
. - GregorianCalendarRandomizer() - Constructor for class org.jeasy.random.randomizers.time.GregorianCalendarRandomizer
-
Create a new
GregorianCalendarRandomizer
. - GregorianCalendarRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.GregorianCalendarRandomizer
-
Create a new
GregorianCalendarRandomizer
.
H
- hasModifiers(Integer) - Static method in class org.jeasy.random.FieldPredicates
-
Create a predicate to check that a field has a given set of modifiers.
- hasModifiers(Integer) - Static method in class org.jeasy.random.TypePredicates
-
Create a predicate to check that a type has a given set of modifiers.
- HourRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates a random hour value betweenHourRandomizer.MIN_HOUR
andHourRandomizer.MAX_HOUR
. - HourRandomizer() - Constructor for class org.jeasy.random.randomizers.time.HourRandomizer
- HourRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.HourRandomizer
I
- 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
-
A
Randomizer
that generates randomInstant
. - InstantRandomizer() - Constructor for class org.jeasy.random.randomizers.time.InstantRandomizer
-
Create a new
InstantRandomizer
. - InstantRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.InstantRandomizer
-
Create a new
InstantRandomizer
. - InstantRangeRandomizer - Class in org.jeasy.random.randomizers.range
- InstantRangeRandomizer(Instant, Instant) - Constructor for class org.jeasy.random.randomizers.range.InstantRangeRandomizer
-
Create a new
InstantRangeRandomizer
. - InstantRangeRandomizer(Instant, Instant, long) - Constructor for class org.jeasy.random.randomizers.range.InstantRangeRandomizer
-
Create a new
InstantRangeRandomizer
. - IntegerRandomizer - Class in org.jeasy.random.randomizers.number
-
Generate a random
Integer
. - IntegerRandomizer() - Constructor for class org.jeasy.random.randomizers.number.IntegerRandomizer
-
Create a new
IntegerRandomizer
. - IntegerRandomizer(long) - Constructor for class org.jeasy.random.randomizers.number.IntegerRandomizer
-
Create a new
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
-
Create a new
IntegerRangeRandomizer
. - IntegerRangeRandomizer(Integer, Integer, long) - Constructor for class org.jeasy.random.randomizers.range.IntegerRangeRandomizer
-
Create a new
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 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
L
- ListRandomizer<T> - Class in org.jeasy.random.randomizers.collection
-
A custom
Randomizer
that generates a list of random values using a delegateRandomizer
. - ListRandomizer(Randomizer<T>) - Constructor for class org.jeasy.random.randomizers.collection.ListRandomizer
-
Create a new
ListRandomizer
that will generate a list with a random number of elements. - ListRandomizer(Randomizer<T>, int) - Constructor for class org.jeasy.random.randomizers.collection.ListRandomizer
-
Create a new
ListRandomizer
that will generate a list with a fixed number of elements. - LocalDateRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates randomLocalDate
. - LocalDateRandomizer() - Constructor for class org.jeasy.random.randomizers.time.LocalDateRandomizer
-
Create a new
LocalDateRandomizer
. - LocalDateRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.LocalDateRandomizer
-
Create a new
LocalDateRandomizer
. - LocalDateRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
LocalDate
in the given range. - LocalDateRangeRandomizer(LocalDate, LocalDate) - Constructor for class org.jeasy.random.randomizers.range.LocalDateRangeRandomizer
-
Create a new
LocalDateRangeRandomizer
. - LocalDateRangeRandomizer(LocalDate, LocalDate, long) - Constructor for class org.jeasy.random.randomizers.range.LocalDateRangeRandomizer
-
Create a new
LocalDateRangeRandomizer
. - LocalDateTimeRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates randomLocalDateTime
. - LocalDateTimeRandomizer() - Constructor for class org.jeasy.random.randomizers.time.LocalDateTimeRandomizer
-
Create a new
LocalDateTimeRandomizer
. - LocalDateTimeRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.LocalDateTimeRandomizer
-
Create a new
LocalDateTimeRandomizer
. - LocalDateTimeRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
LocalDateTime
in the given range. - LocalDateTimeRangeRandomizer(LocalDateTime, LocalDateTime) - Constructor for class org.jeasy.random.randomizers.range.LocalDateTimeRangeRandomizer
-
Create a new
LocalDateTimeRangeRandomizer
. - LocalDateTimeRangeRandomizer(LocalDateTime, LocalDateTime, long) - Constructor for class org.jeasy.random.randomizers.range.LocalDateTimeRangeRandomizer
-
Create a new
LocalDateTimeRangeRandomizer
. - LocaleRandomizer - Class in org.jeasy.random.randomizers.misc
-
Generate a random
Locale
. - LocaleRandomizer() - Constructor for class org.jeasy.random.randomizers.misc.LocaleRandomizer
-
Create a new
LocaleRandomizer
. - LocaleRandomizer(long) - Constructor for class org.jeasy.random.randomizers.misc.LocaleRandomizer
-
Create a new
LocaleRandomizer
. - LocalTimeRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates randomLocalTime
. - LocalTimeRandomizer() - Constructor for class org.jeasy.random.randomizers.time.LocalTimeRandomizer
-
Create a new
LocalTimeRandomizer
. - LocalTimeRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.LocalTimeRandomizer
-
Create a new
LocalTimeRandomizer
. - LocalTimeRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
LocalTime
in the given range. - LocalTimeRangeRandomizer(LocalTime, LocalTime) - Constructor for class org.jeasy.random.randomizers.range.LocalTimeRangeRandomizer
-
Create a new
LocalTimeRangeRandomizer
. - LocalTimeRangeRandomizer(LocalTime, LocalTime, long) - Constructor for class org.jeasy.random.randomizers.range.LocalTimeRangeRandomizer
-
Create a new
LocalTimeRangeRandomizer
. - LongRandomizer - Class in org.jeasy.random.randomizers.number
-
Generate a random
Long
. - LongRandomizer() - Constructor for class org.jeasy.random.randomizers.number.LongRandomizer
-
Create a new
LongRandomizer
. - LongRandomizer(long) - Constructor for class org.jeasy.random.randomizers.number.LongRandomizer
-
Create a new
LongRandomizer
. - LongRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
Long
in the given range. - LongRangeRandomizer(Long, Long) - Constructor for class org.jeasy.random.randomizers.range.LongRangeRandomizer
-
Create a new
LongRangeRandomizer
. - LongRangeRandomizer(Long, Long, long) - Constructor for class org.jeasy.random.randomizers.range.LongRangeRandomizer
-
Create a new
LongRangeRandomizer
.
M
- MapRandomizer<K,
V> - Class in org.jeasy.random.randomizers.collection -
A
Randomizer
that generates aMap
with random entries. - MapRandomizer(Randomizer<K>, Randomizer<V>) - Constructor for class org.jeasy.random.randomizers.collection.MapRandomizer
-
Create a new
MapRandomizer
with a random number of entries. - MapRandomizer(Randomizer<K>, Randomizer<V>, int) - Constructor for class org.jeasy.random.randomizers.collection.MapRandomizer
-
Create a new
MapRandomizer
with a fixed number of entries. - MAX_DAY - Static variable in class org.jeasy.random.randomizers.time.DayRandomizer
- MAX_HOUR - Static variable in class org.jeasy.random.randomizers.time.HourRandomizer
- MAX_MINUTE - Static variable in class org.jeasy.random.randomizers.time.MinuteRandomizer
- MAX_NANO_SECOND - Static variable in class org.jeasy.random.randomizers.time.NanoSecondRandomizer
- MIN_DAY - Static variable in class org.jeasy.random.randomizers.time.DayRandomizer
- MIN_HOUR - Static variable in class org.jeasy.random.randomizers.time.HourRandomizer
- MIN_MINUTE - Static variable in class org.jeasy.random.randomizers.time.MinuteRandomizer
- MIN_NANO_SECOND - Static variable in class org.jeasy.random.randomizers.time.NanoSecondRandomizer
- MinuteRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates a random minute value betweenMinuteRandomizer.MIN_MINUTE
andMinuteRandomizer.MAX_MINUTE
. - MinuteRandomizer() - Constructor for class org.jeasy.random.randomizers.time.MinuteRandomizer
- MinuteRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.MinuteRandomizer
- MonthDayRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates randomMonthDay
. - MonthDayRandomizer() - Constructor for class org.jeasy.random.randomizers.time.MonthDayRandomizer
-
Create a new
MonthDayRandomizer
. - MonthDayRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.MonthDayRandomizer
-
Create a new
MonthDayRandomizer
.
N
- named(String) - Static method in class org.jeasy.random.FieldPredicates
-
Create a predicate to check that a field has a certain name pattern.
- named(String) - Static method in class org.jeasy.random.TypePredicates
-
Create a predicate to check that a type has a given name.
- NanoSecondRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates a random nano-second value betweenNanoSecondRandomizer.MIN_NANO_SECOND
andNanoSecondRandomizer.MAX_NANO_SECOND
. - NanoSecondRandomizer() - Constructor for class org.jeasy.random.randomizers.time.NanoSecondRandomizer
- NanoSecondRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.NanoSecondRandomizer
- newInstance(Class<T>, RandomizerArgument[]) - Static method in class org.jeasy.random.util.ReflectionUtils
- nextDouble(double, double) - Method in class org.jeasy.random.randomizers.AbstractRandomizer
-
Return a random double in the given range.
- nextObject(Class<T>) - Method in class org.jeasy.random.EasyRandom
-
Generate a random instance of the given type.
- NullRandomizer - Class in org.jeasy.random.randomizers.misc
-
A
Randomizer
that generates null values. - NullRandomizer() - Constructor for class org.jeasy.random.randomizers.misc.NullRandomizer
- NumberRandomizer - Class in org.jeasy.random.randomizers.number
-
Generate a random
Number
. - NumberRandomizer() - Constructor for class org.jeasy.random.randomizers.number.NumberRandomizer
-
Create a new
NumberRandomizer
. - NumberRandomizer(long) - Constructor for class org.jeasy.random.randomizers.number.NumberRandomizer
-
Create a new
NumberRandomizer
.
O
- ObjectCreationException - Exception Class in org.jeasy.random
-
Exception thrown when Easy Random is unable to create an instance of a given type.
- ObjectCreationException(String) - Constructor for exception class org.jeasy.random.ObjectCreationException
- ObjectCreationException(String, Throwable) - Constructor for exception class org.jeasy.random.ObjectCreationException
- objectFactory(ObjectFactory) - Method in class org.jeasy.random.EasyRandomParameters
-
Provide a custom object factory.
- ObjectFactory - Interface in org.jeasy.random.api
-
Strategy interface for object creation.
- 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 randomOffsetDateTime
. - OffsetDateTimeRandomizer() - Constructor for class org.jeasy.random.randomizers.time.OffsetDateTimeRandomizer
-
Create a new
OffsetDateTimeRandomizer
. - OffsetDateTimeRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.OffsetDateTimeRandomizer
-
Create a new
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
-
Create a new
OffsetDateTimeRangeRandomizer
. - OffsetDateTimeRangeRandomizer(OffsetDateTime, OffsetDateTime, long) - Constructor for class org.jeasy.random.randomizers.range.OffsetDateTimeRangeRandomizer
-
Create a new
OffsetDateTimeRangeRandomizer
. - OffsetTimeRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates randomOffsetTime
. - OffsetTimeRandomizer() - Constructor for class org.jeasy.random.randomizers.time.OffsetTimeRandomizer
-
Create a new
OffsetTimeRandomizer
. - OffsetTimeRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.OffsetTimeRandomizer
-
Create a new
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
-
Create a new
OffsetTimeRangeRandomizer
. - OffsetTimeRangeRandomizer(OffsetTime, OffsetTime, long) - Constructor for class org.jeasy.random.randomizers.range.OffsetTimeRangeRandomizer
-
Create a new
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
-
Built-in
Randomizer
s. - 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.
P
- PeriodRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates randomPeriod
. - PeriodRandomizer() - Constructor for class org.jeasy.random.randomizers.time.PeriodRandomizer
-
Create a new
PeriodRandomizer
. - PeriodRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.PeriodRandomizer
-
Create a new
PeriodRandomizer
. - Priority - Annotation Interface in org.jeasy.random.annotation
-
Define the priority of a
Randomizer
or aRandomizerRegistry
.
Q
- QueueRandomizer<T> - Class in org.jeasy.random.randomizers.collection
-
A
Randomizer
that generates a queue of random values using a delegateRandomizer
. - QueueRandomizer(Randomizer<T>) - Constructor for class org.jeasy.random.randomizers.collection.QueueRandomizer
-
Create a new
QueueRandomizer
that will generate a queue with a random number of elements. - QueueRandomizer(Randomizer<T>, int) - Constructor for class org.jeasy.random.randomizers.collection.QueueRandomizer
-
Create a new
QueueRandomizer
that will generate a queue with a fixed number of elements.
R
- random - Variable in class org.jeasy.random.randomizers.AbstractRandomizer
- randomizationDepth(int) - Method in class org.jeasy.random.EasyRandomParameters
-
Set the randomization depth for objects graph.
- randomize(Class<T>, Randomizer<T>) - Method in class org.jeasy.random.EasyRandomParameters
-
Register a custom randomizer for a given type.
- randomize(Predicate<Field>, Randomizer<T>) - Method in class org.jeasy.random.EasyRandomParameters
-
Register a custom randomizer for the given field predicate.
- Randomizer<T> - Interface in org.jeasy.random.api
-
Interface for custom randomizer.
- Randomizer - Annotation Interface in org.jeasy.random.annotation
-
Annotation to mark a field to be populated with a random value using the given
Randomizer
. - RandomizerArgument - Annotation Interface in org.jeasy.random.annotation
-
Argument of a
Randomizer
. - RandomizerContext - Interface in org.jeasy.random.api
-
A context object for a
Randomizer
. - randomizerProvider(RandomizerProvider) - Method in class org.jeasy.random.EasyRandomParameters
-
Provide a custom randomizer provider.
- RandomizerProvider - Interface in org.jeasy.random.api
-
Strategy interface to provide randomizers for field/type based on the current context.
- randomizerRegistry(RandomizerRegistry) - Method in class org.jeasy.random.EasyRandomParameters
-
Register a
RandomizerRegistry
. - RandomizerRegistry - Interface in org.jeasy.random.api
-
Interface for a registry of
Randomizer
s. - Range(T, T) - Constructor for class org.jeasy.random.EasyRandomParameters.Range
- RecordFactory - Class in org.jeasy.random
- RecordFactory() - Constructor for class org.jeasy.random.RecordFactory
- ReflectionUtils - Class in org.jeasy.random.util
-
Reflection utility methods.
- registerRandomizer(Class<T>, Randomizer<R>) - Method in class org.jeasy.random.randomizers.registry.CustomRandomizerRegistry
- registerRandomizer(Predicate<Field>, Randomizer<?>) - Method in class org.jeasy.random.randomizers.registry.CustomRandomizerRegistry
S
- scanClasspathForConcreteTypes(boolean) - Method in class org.jeasy.random.EasyRandomParameters
-
Should the classpath be scanned for concrete types when a field with an interface or abstract class type is encountered? Deactivated by default.
- seed(long) - Method in class org.jeasy.random.EasyRandomParameters
-
Set the initial random seed.
- setBypassSetters(boolean) - Method in class org.jeasy.random.EasyRandomParameters
- setCharset(Charset) - Method in class org.jeasy.random.EasyRandomParameters
- setCollectionSizeRange(EasyRandomParameters.Range<Integer>) - Method in class org.jeasy.random.EasyRandomParameters
- setDateRange(EasyRandomParameters.Range<LocalDate>) - Method in class org.jeasy.random.EasyRandomParameters
- setExclusionPolicy(ExclusionPolicy) - Method in class org.jeasy.random.EasyRandomParameters
- setFieldValue(Object, Field, Object) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Set a value (accessible or not accessible) in a field of a target object.
- setIgnoreRandomizationErrors(boolean) - Method in class org.jeasy.random.EasyRandomParameters
- setLocalDateRandomizer(LocalDateRandomizer) - Method in class org.jeasy.random.randomizers.time.LocalDateTimeRandomizer
- setLocalDateRandomizer(LocalDateRandomizer) - Method in class org.jeasy.random.randomizers.time.OffsetDateTimeRandomizer
- setLocalDateTimeRandomizer(LocalDateTimeRandomizer) - Method in class org.jeasy.random.randomizers.time.ZonedDateTimeRandomizer
- setLocalTimeRandomizer(LocalTimeRandomizer) - Method in class org.jeasy.random.randomizers.time.LocalDateTimeRandomizer
- setLocalTimeRandomizer(LocalTimeRandomizer) - Method in class org.jeasy.random.randomizers.time.OffsetDateTimeRandomizer
- setLocalTimeRandomizer(LocalTimeRandomizer) - Method in class org.jeasy.random.randomizers.time.OffsetTimeRandomizer
- setMax(T) - Method in class org.jeasy.random.EasyRandomParameters.Range
- setMin(T) - Method in class org.jeasy.random.EasyRandomParameters.Range
- setObjectFactory(ObjectFactory) - Method in class org.jeasy.random.EasyRandomParameters
- setObjectPoolSize(int) - Method in class org.jeasy.random.EasyRandomParameters
- setOverrideDefaultInitialization(boolean) - Method in class org.jeasy.random.EasyRandomParameters
- setProperty(Object, Field, Object) - Static method in class org.jeasy.random.util.ReflectionUtils
-
Set a value in a field of a target object.
- setRandomizationDepth(int) - Method in class org.jeasy.random.EasyRandomParameters
- SetRandomizer<T> - Class in org.jeasy.random.randomizers.collection
-
A
Randomizer
that generates a set of random values using a delegateRandomizer
. - SetRandomizer(Randomizer<T>) - Constructor for class org.jeasy.random.randomizers.collection.SetRandomizer
-
Create a new
SetRandomizer
that will generate aSet
with a random number of elements. - SetRandomizer(Randomizer<T>, int) - Constructor for class org.jeasy.random.randomizers.collection.SetRandomizer
-
Create a new
SetRandomizer
that will generate aSet
with a fixed number of elements. - setRandomizerContext(RandomizerContext) - Method in interface org.jeasy.random.api.ContextAwareRandomizer
- setRandomizerProvider(RandomizerProvider) - Method in class org.jeasy.random.EasyRandomParameters
- setRandomizerRegistries(Set<RandomizerRegistry>) - Method in interface org.jeasy.random.api.RandomizerProvider
-
Set randomizer registries.
- setScanClasspathForConcreteTypes(boolean) - Method in class org.jeasy.random.EasyRandomParameters
- setSeed(long) - Method in class org.jeasy.random.EasyRandomParameters
- setStringLengthRange(EasyRandomParameters.Range<Integer>) - Method in class org.jeasy.random.EasyRandomParameters
- setTimeRange(EasyRandomParameters.Range<LocalTime>) - Method in class org.jeasy.random.EasyRandomParameters
- setZoneOffsetRandomizer(ZoneOffsetRandomizer) - Method in class org.jeasy.random.randomizers.time.OffsetDateTimeRandomizer
- setZoneOffsetRandomizer(ZoneOffsetRandomizer) - Method in class org.jeasy.random.randomizers.time.OffsetTimeRandomizer
- ShortRandomizer - Class in org.jeasy.random.randomizers.number
-
Generate a random
Short
. - ShortRandomizer() - Constructor for class org.jeasy.random.randomizers.number.ShortRandomizer
-
Create a new
ShortRandomizer
. - ShortRandomizer(long) - Constructor for class org.jeasy.random.randomizers.number.ShortRandomizer
-
Create a new
ShortRandomizer
. - ShortRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
Short
in the given range. - ShortRangeRandomizer(Short, Short) - Constructor for class org.jeasy.random.randomizers.range.ShortRangeRandomizer
-
Create a new
ShortRangeRandomizer
. - ShortRangeRandomizer(Short, Short, long) - Constructor for class org.jeasy.random.randomizers.range.ShortRangeRandomizer
-
Create a new
ShortRangeRandomizer
. - shouldBeExcluded(Class<?>, RandomizerContext) - Method in interface org.jeasy.random.api.ExclusionPolicy
-
Given the current randomization context, should the type be excluded from being randomized?
- shouldBeExcluded(Class<?>, RandomizerContext) - Method in class org.jeasy.random.DefaultExclusionPolicy
-
Given the current randomization context, should the type be excluded from being populated ?
- shouldBeExcluded(Field, RandomizerContext) - Method in interface org.jeasy.random.api.ExclusionPolicy
-
Given the current randomization context, should the field be excluded from being randomized?
- shouldBeExcluded(Field, RandomizerContext) - Method in class org.jeasy.random.DefaultExclusionPolicy
-
Given the current randomization context, should the field be excluded from being populated ?
- SkipRandomizer - Class in org.jeasy.random.randomizers.misc
-
A randomizer used to skip fields from being populated.
- SkipRandomizer() - Constructor for class org.jeasy.random.randomizers.misc.SkipRandomizer
- SqlDateRandomizer - Class in org.jeasy.random.randomizers.time
-
Generate a random
Date
. - SqlDateRandomizer() - Constructor for class org.jeasy.random.randomizers.time.SqlDateRandomizer
-
Create a new
SqlDateRandomizer
. - SqlDateRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.SqlDateRandomizer
-
Create a new
SqlDateRandomizer
. - SqlDateRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
Date
in a given range. - SqlDateRangeRandomizer(Date, Date) - Constructor for class org.jeasy.random.randomizers.range.SqlDateRangeRandomizer
-
Create a new
SqlDateRangeRandomizer
. - SqlDateRangeRandomizer(Date, Date, long) - Constructor for class org.jeasy.random.randomizers.range.SqlDateRangeRandomizer
-
Create a new
SqlDateRangeRandomizer
. - SqlTimeRandomizer - Class in org.jeasy.random.randomizers.time
-
Generate a random
Time
. - SqlTimeRandomizer() - Constructor for class org.jeasy.random.randomizers.time.SqlTimeRandomizer
-
Create a new
SqlTimeRandomizer
. - SqlTimeRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.SqlTimeRandomizer
-
Create a new
SqlTimeRandomizer
. - SqlTimestampRandomizer - Class in org.jeasy.random.randomizers.time
-
Generate a random
Timestamp
. - SqlTimestampRandomizer() - Constructor for class org.jeasy.random.randomizers.time.SqlTimestampRandomizer
-
Create a new
SqlTimestampRandomizer
. - SqlTimestampRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.SqlTimestampRandomizer
-
Create a new
SqlTimestampRandomizer
. - StringDelegatingRandomizer - Class in org.jeasy.random.randomizers.text
-
A
Randomizer
that stringify values generated by a delegateRandomizer
. - StringDelegatingRandomizer(Randomizer<?>) - Constructor for class org.jeasy.random.randomizers.text.StringDelegatingRandomizer
-
Create a new
StringDelegatingRandomizer
. - stringLengthRange(int, int) - Method in class org.jeasy.random.EasyRandomParameters
-
Set the string length range.
- StringRandomizer - Class in org.jeasy.random.randomizers.text
-
Generate a random
String
. - StringRandomizer() - Constructor for class org.jeasy.random.randomizers.text.StringRandomizer
-
Create a new
StringRandomizer
. - StringRandomizer(int) - Constructor for class org.jeasy.random.randomizers.text.StringRandomizer
-
Create a new
StringRandomizer
. - StringRandomizer(int, int, long) - Constructor for class org.jeasy.random.randomizers.text.StringRandomizer
-
Create a new
StringRandomizer
. - StringRandomizer(int, long) - Constructor for class org.jeasy.random.randomizers.text.StringRandomizer
-
Create a new
StringRandomizer
. - StringRandomizer(long) - Constructor for class org.jeasy.random.randomizers.text.StringRandomizer
-
Create a new
StringRandomizer
. - StringRandomizer(Charset) - Constructor for class org.jeasy.random.randomizers.text.StringRandomizer
-
Create a new
StringRandomizer
. - StringRandomizer(Charset, int, int, long) - Constructor for class org.jeasy.random.randomizers.text.StringRandomizer
-
Create a new
StringRandomizer
. - StringRandomizer(Charset, int, long) - Constructor for class org.jeasy.random.randomizers.text.StringRandomizer
-
Create a new
StringRandomizer
. - StringRandomizer(Charset, long) - Constructor for class org.jeasy.random.randomizers.text.StringRandomizer
-
Create a new
StringRandomizer
.
T
- TimeRandomizerRegistry - Class in org.jeasy.random.randomizers.registry
-
A registry of randomizers for Java 8 JSR 310 types.
- TimeRandomizerRegistry() - Constructor for class org.jeasy.random.randomizers.registry.TimeRandomizerRegistry
- timeRange(LocalTime, LocalTime) - Method in class org.jeasy.random.EasyRandomParameters
-
Set the time range.
- TimeZoneRandomizer - Class in org.jeasy.random.randomizers.time
-
Generate a random
TimeZone
. - TimeZoneRandomizer() - Constructor for class org.jeasy.random.randomizers.time.TimeZoneRandomizer
-
Create a new
TimeZoneRandomizer
. - TimeZoneRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.TimeZoneRandomizer
-
Create a new
TimeZoneRandomizer
. - toString() - Method in class org.jeasy.random.randomizers.AbstractRandomizer
- toString() - Method in class org.jeasy.random.randomizers.collection.EnumSetRandomizer
- toString() - Method in class org.jeasy.random.randomizers.collection.ListRandomizer
- toString() - Method in class org.jeasy.random.randomizers.collection.QueueRandomizer
- toString() - Method in class org.jeasy.random.randomizers.collection.SetRandomizer
- type() - Element in annotation interface org.jeasy.random.annotation.RandomizerArgument
-
The type of the argument.
- TypePredicates - Class in org.jeasy.random
-
Common predicates to identify types.
- TypePredicates() - Constructor for class org.jeasy.random.TypePredicates
U
- UriRandomizer - Class in org.jeasy.random.randomizers.net
-
Generate a random
URI
. - UriRandomizer() - Constructor for class org.jeasy.random.randomizers.net.UriRandomizer
-
Create a new
UriRandomizer
. - UriRandomizer(long) - Constructor for class org.jeasy.random.randomizers.net.UriRandomizer
-
Create a new
UriRandomizer
. - UrlRandomizer - Class in org.jeasy.random.randomizers.net
-
Generate a random
URL
. - UrlRandomizer() - Constructor for class org.jeasy.random.randomizers.net.UrlRandomizer
-
Create a new
UrlRandomizer
. - UrlRandomizer(long) - Constructor for class org.jeasy.random.randomizers.net.UrlRandomizer
-
Create a new
UrlRandomizer
. - UUIDRandomizer - Class in org.jeasy.random.randomizers.misc
-
Generate a random
UUID
. - UUIDRandomizer() - Constructor for class org.jeasy.random.randomizers.misc.UUIDRandomizer
-
Create a new
UUIDRandomizer
. - UUIDRandomizer(long) - Constructor for class org.jeasy.random.randomizers.misc.UUIDRandomizer
-
Create a new
UUIDRandomizer
.
V
- value() - Element in annotation interface org.jeasy.random.annotation.Priority
-
The priority of the object.
- value() - Element in annotation interface org.jeasy.random.annotation.Randomizer
-
The
Randomizer
to use to generate the random value for this field. - value() - Element in annotation interface org.jeasy.random.annotation.RandomizerArgument
-
The value of the argument.
Y
- YearMonthRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates randomYearMonth
. - YearMonthRandomizer() - Constructor for class org.jeasy.random.randomizers.time.YearMonthRandomizer
-
Create a new
YearMonthRandomizer
. - YearMonthRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.YearMonthRandomizer
-
Create a new
YearMonthRandomizer
. - YearMonthRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
YearMonth
in the given range. - YearMonthRangeRandomizer(YearMonth, YearMonth) - Constructor for class org.jeasy.random.randomizers.range.YearMonthRangeRandomizer
-
Create a new
YearMonthRangeRandomizer
. - YearMonthRangeRandomizer(YearMonth, YearMonth, long) - Constructor for class org.jeasy.random.randomizers.range.YearMonthRangeRandomizer
-
Create a new
YearMonthRangeRandomizer
. - YearRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates randomYear
. - YearRandomizer() - Constructor for class org.jeasy.random.randomizers.time.YearRandomizer
-
Create a new
YearRandomizer
. - YearRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.YearRandomizer
-
Create a new
YearRandomizer
. - YearRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
Year
in the given range. - YearRangeRandomizer(Year, Year) - Constructor for class org.jeasy.random.randomizers.range.YearRangeRandomizer
-
Create a new
YearRangeRandomizer
. - YearRangeRandomizer(Year, Year, long) - Constructor for class org.jeasy.random.randomizers.range.YearRangeRandomizer
-
Create a new
YearRangeRandomizer
.
Z
- ZonedDateTimeRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates randomZonedDateTime
. - ZonedDateTimeRandomizer() - Constructor for class org.jeasy.random.randomizers.time.ZonedDateTimeRandomizer
-
Create a new
ZonedDateTimeRandomizer
. - ZonedDateTimeRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.ZonedDateTimeRandomizer
-
Create a new
ZonedDateTimeRandomizer
. - ZonedDateTimeRangeRandomizer - Class in org.jeasy.random.randomizers.range
-
Generate a random
ZonedDateTime
in the given range. - ZonedDateTimeRangeRandomizer(ZonedDateTime, ZonedDateTime) - Constructor for class org.jeasy.random.randomizers.range.ZonedDateTimeRangeRandomizer
-
Create a new
ZonedDateTimeRangeRandomizer
. - ZonedDateTimeRangeRandomizer(ZonedDateTime, ZonedDateTime, long) - Constructor for class org.jeasy.random.randomizers.range.ZonedDateTimeRangeRandomizer
-
Create a new
ZonedDateTimeRangeRandomizer
. - ZoneIdRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates randomZoneId
. - ZoneIdRandomizer() - Constructor for class org.jeasy.random.randomizers.time.ZoneIdRandomizer
-
Create a new
ZoneIdRandomizer
. - ZoneIdRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.ZoneIdRandomizer
-
Create a new
ZoneIdRandomizer
. - ZoneOffsetRandomizer - Class in org.jeasy.random.randomizers.time
-
A
Randomizer
that generates randomZoneOffset
. - ZoneOffsetRandomizer() - Constructor for class org.jeasy.random.randomizers.time.ZoneOffsetRandomizer
-
Create a new
ZoneOffsetRandomizer
. - ZoneOffsetRandomizer(long) - Constructor for class org.jeasy.random.randomizers.time.ZoneOffsetRandomizer
-
Create a new
ZoneOffsetRandomizer
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form