Uses of Interface
org.instancio.generator.specs.LuhnGeneratorSpec
Packages that use LuhnGeneratorSpec
Package
Description
Defines generator specs.
Defines classes that provide access to built-in generators.
-
Uses of LuhnGeneratorSpec in org.instancio.generator.specs
Subinterfaces of LuhnGeneratorSpec in org.instancio.generator.specsModifier and TypeInterfaceDescriptioninterfaceA 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 thatnullvalue can be generated.LuhnGeneratorSpec.startIndex(int startIndex) The start index for calculating the checksum (default value is0). -
Uses of LuhnGeneratorSpec in org.instancio.generators
Methods in org.instancio.generators that return LuhnGeneratorSpecModifier and TypeMethodDescriptionChecksumGenerators.luhn()Generates numbers that pass the Luhn checksum algorithm.