Uses of Interface
org.instancio.generator.specs.LuhnGeneratorSpec
Packages that use LuhnGeneratorSpec
-
Uses of LuhnGeneratorSpec in org.instancio.generator.specs
Subinterfaces of LuhnGeneratorSpec in org.instancio.generator.specsModifier and TypeInterfaceDescriptioninterface
A spec for generating numbers that pass the Luhn checksum algorithm.interface
A spec for generating numbers that pass the Luhn checksum algorithm.Methods in org.instancio.generator.specs that return LuhnGeneratorSpecModifier and TypeMethodDescriptionLuhnGeneratorSpec.checkDigitIndex
(int checkDigitIndex) The index of the check digit in the input.LuhnGeneratorSpec.endIndex
(int endIndex) The end index for calculating the checksum.LuhnGeneratorSpec.length
(int length) Length of the number to generate (default value is16
).LuhnGeneratorSpec.length
(int min, int max) Generate a number of random length within the specified range.LuhnGeneratorSpec.nullable()
Indicates thatnull
value can be generated.LuhnGeneratorSpec.startIndex
(int startIndex) The start index for calculating the checksum (default value is0
).