Disjoint

case
class Disjoint[A] extends Overlap[A]

Intervals are nonEmpty and don't intersect lower.upperBound is strictly less than upper.lowerBound.

class Overlap[A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def join(implicit o: Order[A]): Interval[A]

An interval that joins lower and upper in a continuous interval without intersecting any of them. For example for (-5, 1] and (4, 6), a join is (1,4]

An interval that joins lower and upper in a continuous interval without intersecting any of them. For example for (-5, 1] and (4, 6), a join is (1,4]

Inherited methods

def isDisjoint: Boolean
Inherited from
Overlap
def isEqual: Boolean
Inherited from
Overlap
def isSubset: Boolean
Inherited from
Overlap
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product