io.github.cakelier.tuples.space.dsl.numeric.IntTemplate$.WithMultipleIntTemplate
The int template for which the "multiple of" value has been specified.
This template represents one for int values where the "multiple of" constraint has been specified. Now, a minimum or a maximum constraint can be specified, creating a range of acceptable values for the template to match. Neither of this constraints are mandatory to apply. This will produce a template for which either the minimum and the "multiple of" values have been specified, or the maximum and the "multiple of" values have been specified.
Attributes
Constructor
creates a new instance of this class specifying the divisor value
Graph
Reset zoom Hide graph Show graph
Supertypes
class Object
trait Matchable
class Any
Members list
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 and the "multiple of" information
Inherited from:
WithMultipleIntegralTemplate
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 and the "multiple of" information
Inherited from:
WithMultipleIntegralTemplate
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 and the "multiple of" information
Inherited from:
WithMultipleIntegralTemplate
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 and the "multiple of" information
Inherited from:
WithMultipleIntegralTemplate