edu.knowitall.collection.immutable

Interval

object Interval extends Serializable

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

Type Members

  1. sealed abstract class Singleton extends Interval

    An interval that includes only a single index.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object Closed extends Serializable

  7. object Empty extends Interval

    The empty interval.

  8. object Open extends AnyRef

  9. object Singleton extends Serializable

  10. final def asInstanceOf[T0]: T0

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

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

  12. def clone(): AnyRef

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

    Create a new closed interval.

  14. val empty: edu.knowitall.collection.immutable.Interval.Empty.type

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def from(col: Seq[Int]): Interval

    create an interval from a sequence of Ints.

    create an interval from a sequence of Ints.

    Exceptions thrown
    IllegalArgumentException

    some x such that min < x < max is not in col

  19. final def getClass(): java.lang.Class[_]

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

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

    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

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

    Create a new open interval.

  26. def readResolve(): AnyRef

    Attributes
    protected
  27. def singleton(x: Int): Singleton

    Create a new singleton interval.

  28. 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
    IllegalArgumentException

    gap in intervals

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

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. 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
    IllegalArgumentException

    gap in intervals

  32. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any