io.github.cakelier.tuples.space.dsl.numeric.LongTemplate$.EmptyLongTemplate
The "empty" long template, capable of matching any value of the long type.
This is the starting template from which creating any other long 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. It is also allowed to specify a number of which the matched long should be multiple of for creating a new template.
Attributes
Graph
Reset zoom Hide graph Show graph
Supertypes
class Object
trait Matchable
class Any
Members list
Adds the number that the integral value should be multiple of to match the built template.
Adds the number that the integral value should be multiple of to match the built template.
Value parameters
multipleOf
the number that the integral value should be multiple of to match the built template
Attributes
Returns
a template which has stored the "multiple of" information
Inherited from:
EmptyIntegralTemplate
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 template which has stored the exclusive minimum information
Inherited from:
EmptyIntegralTemplate
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 template which has stored the inclusive minimum information
Inherited from:
EmptyIntegralTemplate
Adds the exclusive maximum that the integral value should satisfy to match the built template.
Adds the exclusive maximum that the integral value should satisfy to match the built template.
Value parameters
max
the exclusive maximum that the integral value should satisfy to match the built template
Attributes
Returns
a template which has stored the exclusive maximum information
Inherited from:
EmptyIntegralTemplate
Adds the inclusive maximum that the integral value should satisfy to match the built template.
Adds the inclusive maximum that the integral value should satisfy to match the built template.
Value parameters
max
the inclusive maximum that the integral value should satisfy to match the built template
Attributes
Returns
a template which has stored the inclusive maximum information
Inherited from:
EmptyIntegralTemplate