CompleteFloatTemplate
io.github.cakelier.tuples.space.dsl.numeric.FloatTemplate$.CompleteFloatTemplate
class CompleteFloatTemplate(min: Either[Float, Float], max: Either[Float, Float]) extends CompleteNumericTemplate[Float]
The "terminal" float template, for which no more information can be specified for building a JsonFloatTemplate.
This template represents the last stage in building a numeric template, meaning that no more constraints can be specified. The range for the value has already been specified as a minimum and maximum allowed values, either inclusive or exclusive.
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