object Interval extends Serializable
- Alphabetic
- By Inheritance
- Interval
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
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
between(x: Interval, y: Interval): Interval
Create an open interval that includes all points between the two intervals.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
closed(start: Int, end: Int): Interval
Create a new closed interval.
-
val
empty: Interval
The empty interval.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
from(col: Seq[Int]): Interval
create an interval from a sequence of
Int
s.create an interval from a sequence of
Int
s.- Exceptions thrown
java.lang.IllegalArgumentException
some x such that min < x < max is not in col
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
minimal(intervals: Iterable[Interval]): List[Interval]
create a minimal spanning set of the supplied intervals.
create a minimal spanning set of the supplied intervals.
- returns
a sorted minimal spanning set
-
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
ofLength(start: Int, length: Int): Interval
Create an interval at the specified starting point of the specified length.
-
def
open(start: Int, end: Int): Interval
Create a new open interval.
-
def
singleton(x: Int): Singleton
Create a new singleton interval.
-
def
span(col: Iterable[Interval]): Interval
create the smallest interval that spans a collection of intervals.
create the smallest interval that spans a collection of intervals. The intervals will be sorted and unioned.
- Exceptions thrown
java.lang.IllegalArgumentException
gap in intervals
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
union(col: Seq[Interval]): Interval
create an interval from a collection of intervals.
create an interval from a collection of intervals. The intervals will be sorted and unioned.
- Exceptions thrown
java.lang.IllegalArgumentException
gap in intervals
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
object
Empty extends Interval
The empty interval.
- object Format
- object Open
- object Singleton extends Serializable