WithMaxWithMultipleLongTemplate

io.github.cakelier.tuples.space.dsl.numeric.LongTemplate$.WithMaxWithMultipleLongTemplate

The integral template for which the maximum value, either inclusive or exclusive, has been specified along with the "multipleOf" value.

This template represents one for integral values where the maximum constraint, whether it be an inclusive or exclusive one, have been specified alongside a "multiple of" constraint. Now, a minimum constraint can be specified, allowing to close the half-open interval previously created. This constraints is not mandatory to apply. 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 maximum value, being a scala.util.Left if it inclusive, or a scala.util.Right if it is exclusive, and the "multiple of" value

Graph
Supertypes
trait Template
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def gt(min: Long): B

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

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

Value parameters

min

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

Attributes

Returns

a "terminal" template, which has stored the minimum, the maximum and the "multiple of" information

Inherited from:
WithMaxWithMultipleIntegralTemplate
def gte(min: Long): B

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

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

Value parameters

min

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

Attributes

Returns

a "terminal" template, which has stored the minimum, the maximum and the "multiple of" information

Inherited from:
WithMaxWithMultipleIntegralTemplate

Converts this template to its corresponding JsonTemplate.

Converts this template to its corresponding JsonTemplate.

Attributes

Definition Classes
Inherited from:
WithMaxWithMultipleIntegralTemplate