WithMinWithMultipleLongTemplate
io.github.cakelier.tuples.space.dsl.numeric.LongTemplate$.WithMinWithMultipleLongTemplate
class WithMinWithMultipleLongTemplate(min: Either[Long, Long], multipleOf: Long) extends WithMinWithMultipleIntegralTemplate[Long, CompleteLongTemplate]
The long template for which the minimum value, either inclusive or exclusive, has been specified along with the "multipleOf" value.
This template represents one for long values where the minimum constraint, whether it be an inclusive or exclusive one, have been specified alongside a "multiple of" constraint. Now, a maximum 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 minimum 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
Members list
In this article