CompleteIntTemplate
io.github.cakelier.tuples.space.dsl.numeric.IntTemplate$.CompleteIntTemplate
class CompleteIntTemplate(min: Either[Int, Int], max: Either[Int, Int], multipleOf: Int) extends CompleteIntegralTemplate[Int]
The "terminal" int template, for which no more information can be specified for building a JsonIntTemplate.
This template represents the last stage in building an int 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, so as the number which it should be a multiple of.
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, and the "multiple of" value
- Graph
-
- Supertypes
Members list
In this article