com.robertboothby.djenni.sugar.And Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
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.
package com.robertboothby.djenni.sugar;
/**
* Interface to allow simple syntactic sugar when using functional language structures. This will allow
* enforcing of binary parameters (e.g. between...and....) in a clear syntax.
* @author robertboothby
* @param The configurable class that will be returned for further use.
* @param The class of the value being configured.
*/
public interface And {
/**
* Set the second of a binary value into a configurable object.
* @param value The value to be configured into the object.
* @return The object being configured
*/
T and(U value);
}