Uses of Interface
org.instancio.generator.specs.IntervalSpec
Packages that use IntervalSpec
Package
Description
Defines generator specs.
Defines classes that provide access to built-in generators.
-
Uses of IntervalSpec in org.instancio.generator.specs
Methods in org.instancio.generator.specs that return IntervalSpecModifier and TypeMethodDescriptionIntervalSpec.nextEnd(RandomUnaryOperator<T> nextEndFn) Specifies the function for calculating theendvalue of the interval based on thestartvalue of the current interval.IntervalSpec.nextStart(RandomUnaryOperator<T> nextStartFn) Specifies the function for calculating thestartvalue of the next interval based on theendvalue of the current interval.IntervalSpec.nullable()Specifies that anullvalue can be generated -
Uses of IntervalSpec in org.instancio.generators
Methods in org.instancio.generators that return IntervalSpecModifier and TypeMethodDescription<T> IntervalSpec<T> ValueSpecs.intervalStarting(T startingValue) A spec for generating intervals of various types, such as numeric and temporal values.