WithMinWithMaxLongTemplate
io.github.cakelier.tuples.space.dsl.numeric.LongTemplate$.WithMinWithMaxLongTemplate
class WithMinWithMaxLongTemplate(min: Either[Long, Long], max: Either[Long, Long]) extends WithMinWithMaxIntegralTemplate[Long, CompleteLongTemplate]
The long template for which the minimum and the maximum values, either inclusive or exclusive, have been specified.
This template represents one for long values where the minimum and the maximum constraints, whether they are inclusive or exclusive, have been specified. Now, a "multiple of" constraint can be specified, allowing to match only the values which are multiple of this number. 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 minimum and the maximum values, being scala.util.Lefts if they are inclusive, or scala.util.Rights if they are exclusive
- Graph
-
- Supertypes
Members list
In this article