All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.robertboothby.djenni.distribution.fullrange.package.html Maven / Gradle / Ivy

Go to download

This module holds the core components of the Djenni data generator framework. By itself it provides most of the components to create an efficient end to end data generation framework for a specific domain. It contains the core SupplierBuilder interfaces, implementations for the core Java data types and useful test components. It is intended to be used in conjunction with the source-generator module that will speed up delivery of domain specific data generation and also with common domain modules (TBD) that deliver standard generators for common frameworks such as JAXB.

There is a newer version: 0.2.0
Show newest version



    com.robertboothby.djenni.distribution.fullrange


This package contains distribution implementations that are capable of generating a full range of values. It does this by expressing the bound when generating as a type that is capable of describing the full range that could be generated.

For example when generating Integers, expressing the bound as an Integer only allows a bound of 2147483647 which means that a naive Integer Distribution can only ever generate values with a range of 0 to 2147483646 inclusive. This makes full range generation difficult as the full range of an Integer is -2147483648 to 2147483647 or as a positive number bound it is 4294967296 (0x100000000).

So if we want to generate the full range we need to be able to express this bound in a type that can handle it. For Integers the type is as a Long.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy