Package dev.orne.test.rnd.generators
Class ChronologyGenerator
java.lang.Object
dev.orne.test.rnd.AbstractGenerator
dev.orne.test.rnd.AbstractTypedGenerator<Chronology>
dev.orne.test.rnd.generators.ChronologyGenerator
- All Implemented Interfaces:
Generator
,TypedGenerator<Chronology>
@API(status=STABLE,
since="0.1")
@Priority(-1000)
public class ChronologyGenerator
extends AbstractTypedGenerator<Chronology>
Generator of
Chronology
values.- Since:
- 0.1
- Version:
- 1.0, 2022-11
- Author:
- (w) Iker Hernaez
-
Field Summary
Fields inherited from class dev.orne.test.rnd.AbstractGenerator
DEFAULT_NULL_PROBABILITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Chronology
Returns the default value of the supported type.@NotNull Chronology
Returns a random value of the supported type.Methods inherited from class dev.orne.test.rnd.AbstractTypedGenerator
defaultValue, equals, getValueType, hashCode, nullableDefaultValue, nullableRandomValue, randomValue, supports
Methods inherited from class dev.orne.test.rnd.AbstractGenerator
assertSupported, getNullProbability, nullableDefaultValue, nullableRandomValue, randomNull, setNullProbability, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface dev.orne.test.rnd.Generator
asParameterizable, getPriority, nullableDefaultValue, nullableRandomValue
-
Constructor Details
-
ChronologyGenerator
public ChronologyGenerator()Creates a new instance.
-
-
Method Details
-
defaultValue
Returns the default value of the supported type.- Returns:
- The default value.
-
randomValue
Returns a random value of the supported type.- Returns:
- A random value.
-