EmptyDoubleTemplate

io.github.cakelier.tuples.space.dsl.numeric.DoubleTemplate$.EmptyDoubleTemplate

The "empty" double template, capable of matching any value of the double type.

This is the starting template from which creating any other double template by specifying more and more constraints. Being so, it is allowed to add a minimum value, either inclusive or exclusive, or a maximum value, either inclusive or exclusive, to create a new template from this.

Attributes

Graph
Supertypes

Members list

Value members

Inherited methods

def gt(min: Double): B

Adds the exclusive minimum that the numeric value should satisfy to match the built template.

Adds the exclusive minimum that the numeric value should satisfy to match the built template.

Value parameters

min

the exclusive minimum that the numeric value should satisfy to match the built template

Attributes

Returns

a template which has stored the exclusive minimum information

Inherited from:
EmptyNumericTemplate
def gte(min: Double): B

Adds the inclusive minimum that the numeric value should satisfy to match the built template.

Adds the inclusive minimum that the numeric value should satisfy to match the built template.

Value parameters

min

the inclusive minimum that the numeric value should satisfy to match the built template

Attributes

Returns

a template which has stored the inclusive minimum information

Inherited from:
EmptyNumericTemplate
def lt(max: Double): C

Adds the exclusive maximum that the numeric value should satisfy to match the built template.

Adds the exclusive maximum that the numeric value should satisfy to match the built template.

Value parameters

max

the exclusive maximum that the numeric value should satisfy to match the built template

Attributes

Returns

a template which has stored the exclusive maximum information

Inherited from:
EmptyNumericTemplate
def lte(max: Double): C

Adds the inclusive maximum that the numeric value should satisfy to match the built template.

Adds the inclusive maximum that the numeric value should satisfy to match the built template.

Value parameters

max

the inclusive maximum that the numeric value should satisfy to match the built template

Attributes

Returns

a template which has stored the inclusive maximum information

Inherited from:
EmptyNumericTemplate

Converts this template to its corresponding JsonTemplate.

Converts this template to its corresponding JsonTemplate.

Attributes

Definition Classes
Inherited from:
EmptyNumericTemplate