WithMinimumFloatTemplate

io.github.cakelier.tuples.space.dsl.numeric.FloatTemplate$.WithMinimumFloatTemplate

The float template for which the minimum value, either inclusive or exclusive, has been specified.

This template represents one for float values where the minimum constraint, whether it be an inclusive or exclusive one, has been specified. Now, only a maximum constraint can be specified, closing the now half-open interval. This is not mandatory to do. This will produce a "complete" template for which no more constraints can be specified.

Attributes

Constructor

creates a new instance of this class specifying the minimum value, being a scala.util.Left if it inclusive, or a scala.util.Right if it is exclusive

Graph
Supertypes
trait Template
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def lt(max: Float): B

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 "terminal" template, which has stored the minimum and the exclusive maximum information

Inherited from:
WithMinimumNumericTemplate
def lte(max: Float): B

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 "terminal" template, which has stored the minimum and the inclusive maximum information

Inherited from:
WithMinimumNumericTemplate

Converts this template to its corresponding JsonTemplate.

Converts this template to its corresponding JsonTemplate.

Attributes

Definition Classes
Inherited from:
WithMinimumNumericTemplate