Object/Class

ai.lum.common

Interval

Related Docs: class Interval | package common

Permalink

object Interval extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Interval
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class Singleton extends Interval

    Permalink

    An interval that includes only a single index.

    An interval that includes only a single index. All intervals with a single element will always extend Singleton.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Empty extends Interval

    Permalink

    The empty interval.

  5. object Format

    Permalink
  6. object Open

    Permalink
  7. object Singleton extends Serializable

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def between(x: Interval, y: Interval): Interval

    Permalink

    Create an open interval that includes all points between the two intervals.

  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def closed(start: Int, end: Int): Interval

    Permalink

    Create a new closed interval.

  12. val empty: Interval

    Permalink

    The empty interval.

  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def from(col: Seq[Int]): Interval

    Permalink

    create an interval from a sequence of Ints.

    create an interval from a sequence of Ints.

    Exceptions thrown

    java.lang.IllegalArgumentException some x such that min < x < max is not in col

  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def minimal(intervals: Iterable[Interval]): List[Interval]

    Permalink

    create a minimal spanning set of the supplied intervals.

    create a minimal spanning set of the supplied intervals.

    returns

    a sorted minimal spanning set

  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def ofLength(start: Int, length: Int): Interval

    Permalink

    Create an interval at the specified starting point of the specified length.

  25. def open(start: Int, end: Int): Interval

    Permalink

    Create a new open interval.

  26. def singleton(x: Int): Singleton

    Permalink

    Create a new singleton interval.

  27. def span(col: Iterable[Interval]): Interval

    Permalink

    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

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. def union(col: Seq[Interval]): Interval

    Permalink

    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

  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped