Interval
io.github.iltotore.iron.constraint.numeric.Interval
object Interval
Attributes
- Source
- numeric.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Interval.type
Members list
Type members
Types
type Closed[V1, V2] = DescribedAs[GreaterEqual[V1] & LessEqual[V2], "Should be included in [" + V1 + ", " + V2 + "]"]
Tests if the input is included in [V1, V2]
Tests if the input is included in [V1, V2]
Type parameters
- V1
-
the lower bound, inclusive.
- V2
-
the upper bound, inclusive.
Attributes
- Source
- numeric.scala
type ClosedOpen[V1, V2] = DescribedAs[GreaterEqual[V1] & Less[V2], "Should be included in [" + V1 + ", " + V2 + ")"]
Tests if the input is included in [V1, V2)
Tests if the input is included in [V1, V2)
Type parameters
- V1
-
the lower bound, inclusive.
- V2
-
the upper bound, exclusive.
Attributes
- Source
- numeric.scala
Tests if the input is included in (V1, V2)
Tests if the input is included in (V1, V2)
Type parameters
- V1
-
the lower bound, exclusive.
- V2
-
the upper bound, exclusive.
Attributes
- Source
- numeric.scala
type OpenClosed[V1, V2] = DescribedAs[Greater[V1] & LessEqual[V2], "Should be included in (" + V1 + ", " + V2 + "]"]
Tests if the input is included in (V1, V2]
Tests if the input is included in (V1, V2]
Type parameters
- V1
-
the lower bound, exclusive.
- V2
-
the upper bound, inclusive.
Attributes
- Source
- numeric.scala
In this article