WithMaximumDoubleTemplate
io.github.cakelier.tuples.space.dsl.numeric.DoubleTemplate$.WithMaximumDoubleTemplate
class WithMaximumDoubleTemplate(max: Either[Double, Double]) extends WithMaximumNumericTemplate[Double, CompleteDoubleTemplate]
The double template for which the maximum value, either inclusive or exclusive, has been specified.
This template represents one for double values where the maximum constraint, whether it be an inclusive or exclusive one, has been specified. Now, only a minimum constraint can be specified, closing the now half-open interval. This is not mandatory to do. 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
- Graph
-
- Supertypes
Members list
In this article