LongForgery - xgouchet/Elmyr GitHub Wiki
@Target([AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.FIELD, AnnotationTarget.PROPERTY]) annotation class LongForgery
Mark a field, property or method parameter as a primitive long forgery.
You can only specify the min and max parameters, or the mean and standardDeviation parameters.
Parameters
min - the minimum value (inclusive), default = Long.MIN_VALUE
max - the maximum value (exclusive), default = Long.MAX_VALUE
mean - the mean value of the distribution
standardDeviation - the standard deviation value of the distribution
Constructors
<init>
LongForgery(min: Long= Long.MIN_VALUE, max:Long= Long.MAX_VALUE, mean:Long= 0, standardDeviation:Long = -1)
Mark a field, property or method parameter as a primitive long forgery.
You can only specify the min and max parameters, or the mean and standardDeviation parameters.
Parameters
min - the minimum value (inclusive), default = Long.MIN_VALUE
max - the maximum value (exclusive), default = Long.MAX_VALUE
mean - the mean value of the distribution
standardDeviation - the standard deviation value of the distribution
Properties
max
val max: Long
the maximum value (exclusive), default = Long.MAX_VALUE
mean
val mean: Long
the mean value of the distribution
min
val min: Long
the minimum value (inclusive), default = Long.MIN_VALUE
standardDeviation
val standardDeviation: Long
the standard deviation value of the distribution