object Interval extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Interval
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type ExLowExUp[T] = Intersection[ExclusiveLower, ExclusiveUpper, T]
- type ExLowInUp[T] = Intersection[ExclusiveLower, InclusiveUpper, T]
- type GenIntersection[T] = Intersection[Lower, Upper, T]
- type InLowExUp[T] = Intersection[InclusiveLower, ExclusiveUpper, T]
- type InLowInUp[T] = Intersection[InclusiveLower, InclusiveUpper, T]
- implicit final class IntervalMethods[T] extends AnyVal
This is here for binary compatibility reasons.
This is here for binary compatibility reasons. These methods should be moved to Interval, which should also be an abstract class for better binary compatibility at the next incompatible change
- sealed abstract class MaybeEmpty[T, NonEmpty[t] <: Interval[t]] extends AnyRef
Class that only exists so that leftClosedRightOpen and leftOpenRightClosed can retain the type information of the returned interval.
Class that only exists so that leftClosedRightOpen and leftOpenRightClosed can retain the type information of the returned interval. The compiler doesn't know anything about ordering, so without MaybeEmpty the only valid return type is Interval[T].
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def closed[T](lower: T, upper: T)(implicit arg0: Ordering[T]): MaybeEmpty[T, InLowInUp]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- implicit def fromMaybeEmpty[T, NonEmpty[t] <: Interval[t]](me: MaybeEmpty[T, NonEmpty]): Interval[T]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def leftClosedRightOpen[T](lower: T, upper: T)(implicit arg0: Ordering[T]): MaybeEmpty[T, InLowExUp]
- def leftOpenRightClosed[T](lower: T, upper: T)(implicit arg0: Ordering[T]): MaybeEmpty[T, ExLowInUp]
- implicit def monoid[T](implicit arg0: Ordering[T]): Monoid[Interval[T]]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def open[T](lower: T, upper: T)(implicit arg0: Ordering[T]): MaybeEmpty[T, ExLowExUp]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object MaybeEmpty