package interval
- Alphabetic
- Public
- All
Type Members
- sealed trait Bound [A] extends AnyRef
- case class Closed [A](a: A) extends ValueBound[A] with Product with Serializable
- case class EmptyBound [A]() extends Bound[A] with Product with Serializable
- case class Open [A](a: A) extends ValueBound[A] with Product with Serializable
-
sealed abstract
class
Overlap
[A] extends Product with Serializable
An ADT that represents overlapping result for any two intervals.
- case class Unbound [A]() extends Bound[A] with Product with Serializable
- sealed trait ValueBound [A] extends Bound[A]
Value Members
- object Bound
- object Overlap extends Serializable
-
object
ValueBound
Companion object for open/closed bounds, used to construct intervals from a set of bounds.
Companion object for open/closed bounds, used to construct intervals from a set of bounds.
In the comments, we write
- [v, (v or ?v when the bound is interpreted as a lower bound, - v], v), v? when the bound is interpreted as an upper bound.
The symbols [], (), ? correspond to closed, open or unknown bounds.